Someone explain DNS, nameservers, registrars, MX, cname, A(host)?

fuzzybabybunny

Moderator<br>Digital & Video Cameras
Moderator
Jan 2, 2006
10,455
35
91
Here's what I've got:

1. domain name registered with GoDaddy (mywebsite.com)
2. website hosted through Amazon EC2
3. email goes through gmail

Can someone explain to me how registrars, nameservers, and DNS records are connected?

- I register a domain name with GoDaddy. GoDaddy is the registrar.
- The nameservers are from GoDaddy.
- The GoDaddy DNS Zone file configures how the GoDaddy nameservers respond to requests from browsers, right?
- Inside the zone file:

A(Host): points "mywebsite.com" to the IP address of the Amazon instance that's hosting the website contents.

CName: configures where the subdomains go.
ex. The "www" subdomain gets forwarded to mywebsite.com
ex. The "ftp" subdomain also gets forwarded to mywebsite.com

MX: really fuzzy on this, if someone sends an email to "name@mywebsite.com" the MX entry determines which servers handle this request, right? So I need to configure these to point to Google's servers.

Moved from Programming to Networking -- Programming Moderator Ken g6
 
Last edited by a moderator:

kevnich2

Platinum Member
Apr 10, 2004
2,465
8
76
What server traffic goes to for different methods (website requests, email, etc) is all handled by DNS. The registrar tells the root name servers what DNS servers are authoritative for your domain. The DNS servers then tell the rest of the internet the actual details regarding your specific domain, such as A, cname and mx records.

You can have one server that handles your website, which relies on cname and host/A records. You can have another server handling your email, which is through the mx records, SPF records, etc.

You seem to have a grasp on the important things but as your post indicates, yes your MX records need to be configured per google apps specs so the email gets handled by their servers.
 

fuzzybabybunny

Moderator<br>Digital & Video Cameras
Moderator
Jan 2, 2006
10,455
35
91
I see. Part of my confusion is that another one of my domains is registered on GoDaddy, but somehow the nameservers are ones provided by my hosting company (not GoDaddy). Can I choose to have GoDaddy be the nameserver for this domain instead? I like their DNS management console better and its nice to have everything for my domains in one spot.
 

Jamsan

Senior member
Sep 21, 2003
795
0
71
I see. Part of my confusion is that another one of my domains is registered on GoDaddy, but somehow the nameservers are ones provided by my hosting company (not GoDaddy). Can I choose to have GoDaddy be the nameserver for this domain instead? I like their DNS management console better and its nice to have everything for my domains in one spot.

Yes, you can. For every domain, the authoritative domain is configured by what's specific for the "name servers". These name servers dictate who is authoritative. Go to your existing DNS provider and look for that setting. Make the change over to the Go Daddy records and it will then use the zone configured in Go Daddy to server up all the DNS records.

Word of wisdom - make sure your zone for your domain served up by the other provider is configured first with all your appropriate A records, CNAMEs, MX, etc. BEFORE you change the name servers. If you don't you run the potential risk of DNS lookups starting to occur with Go Daddy, but no actually DNS records existing there.
 

kevnich2

Platinum Member
Apr 10, 2004
2,465
8
76
As jams an indicated, yes you can easily switch your DNS provider to godaddy but I have to also point out the same thing, when you switch, make sure and setup godaddy DNS identical to that of your existing host. Then wait atleast 48 hours before making any other changes. It takes 48 hrs for authoritative DNS changes to propogate through the Internet. Also might want to set your ttl lower for a little bit (say 60) before you begin making changes so that you can revert quickly with minimal downtime. Once you know it works, adjust the ttl back up higher so your DNS isn't being hit hard.
 

fuzzybabybunny

Moderator<br>Digital & Video Cameras
Moderator
Jan 2, 2006
10,455
35
91
Thanks. I don't think I can make preemptive DNS changes in GoDaddy for my domain - I get an error that says the zone file is unavailable because my domain's name servers do not belong to GoDaddy.
 

kevnich2

Platinum Member
Apr 10, 2004
2,465
8
76
Thanks. I don't think I can make preemptive DNS changes in GoDaddy for my domain - I get an error that says the zone file is unavailable because my domain's name servers do not belong to GoDaddy.

No you have to change the DNS servers to the godaddy one's then allow about a minute to go by, then go into the dns records and from there you'll be able to change the dns settings around. Godaddy doesn't allow the records to be modified unless it detects that it is the authoritative dns provider. I don't actually know the reason behind this as it really doesn't matter but it's how they're configured to act right now.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |