NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Hosting Discussion
Reload this Page Help with email and how DNS is related

Web Hosting Discussion Hosting topics including DNS, control panels, servers, choosing a host, support.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-02-2006, 12:15 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Aug 2003
Location: Texas
Posts: 384
ATWatts is on a distinguished road
 



Help with email and how DNS is related


Noob email question

There is a domain name that has 6 email addresses tied to it and the DNS is just parked. If I change the domain name server, should I expect the email addresses to be affected?
ATWatts is offline  
Old 11-07-2006, 08:05 PM   #2 (permalink)
NamePros Member
Join Date: Apr 2006
Posts: 101
Echelon17 is an unknown quantity at this point
 



Originally Posted by ATWatts
Noob email question

There is a domain name that has 6 email addresses tied to it and the DNS is just parked. If I change the domain name server, should I expect the email addresses to be affected?
Allow me to give you some information as to how DNS works and how e-mail works in relation to that.

Every domain on the web has "nameservers" attached to it. Usually there's a minimum of 2 nameservers. Nameservers, in English, are servers that are dedicated to providing DNS or address resolution to the domain in question.
????: NamePros.com http://www.namepros.com/web-hosting-discussion/253619-help-with-email-how-dns-related.html

So, if you have the domain "mydomain.com" with the nameservers of ns1.mydomain.com and ns2.mydomain.com - these 2 servers are both providing DNS records for this domain.

The reason we have more than 1 nameserver? Well, if the first fails, the second will take over and continue providing records.

How does it work?

NOTE: This is the easy explanation.

Someone types in www.yourdomain.com into their browser. Your ISP's DNS servers are checked to see if it knows about yourdomain.com already, and we can see that ns1.yourdomain.com and ns2.yourdomain.com are the nameservers for that domain.

We then ask ns1.yourdomain.com, nicely, what the IP address for yourdomain.com is. It responds with the address, our PC stores that information and then proceeds to try and load that site.

Why do we need DNS?

Without DNS the Internet would be an insanely boring place. To navigate websites you'd need to memorise the IP Addresses, and let's face it, most people can't do that. Why would I want to type in http://72.14.207.99 when I can just type in google.com? It's a matter of human preference, amongst other things.

DNS is essentially the translation of hostnames (google.com) to their relevant IP address counterparts (72.14.207.99), and vice versa. It works almost seamlessly behind the scenes so we don't have to worry about it.

So what about e-mail?

Typically, DNS usually functions on what's known as 'A' records for web traffic. 'A' records are basically yourdomain.com = 111.222.333.444 or some other address. E-mail, however, uses something called MX records.
????: NamePros.com http://www.namepros.com/showthread.php?t=253619

MX stands for "Mail Exchange" and are a slightly different record type dedicated to... you guessed it... telling everyone where the e-mail for that domain goes to.

MX records look something like this:

yourdomain.com MX 10 mail.yourdomain.com.
yourdomain.com MX 20 mail2.yourdomain.com.

Explained, the records are as follows:

yourdomain.com - domain name this record belongs to
MX - type of record
10 - Priority of record
mail.yourdomain.com - Address to route e-mail to

The priority of these records is important, as this is essentially the list of servers it will try before it gives up trying to send e-mail for you. If the first server at priority 10 is dead and not responding, it will try the next priority (usually 20) and so on, until it either gives up or someone accepts the e-mail.

So, if you are moving nameservers, you need to ensure that the DNS records (in particular the MX records) are correct and up to date ,or your e-mail will potentially disappear into a black hole.

You can create a record on the new nameserver BEFORE the domain is hosted on it, without any problems. It's record just won't be used until you make the change. My advice is to copy the records across from new to old, and then update the nameservers accordingly.
__________________
Are you a freelancer?
www.skillsharing.co.uk
Echelon17 is offline  
Old 11-07-2006, 08:12 PM   #3 (permalink)
******** Regular
Join Date: Nov 2004
Posts: 340
ihosty is a jewel in the roughihosty is a jewel in the roughihosty is a jewel in the rough
 



Good information, i saw the post and was going to help but no need here well said Echelon17
ihosty is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 09:43 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger