Web Hosting Talk







View Full Version : question regarding nameserver


jeffrylee
05-29-2002, 05:57 AM
If i have 2 hosts, and i put the 2 hosts nameserver in my domain DNS, what is the effect?
and are the ns1.domain.com and ns2.domain.com should be placed in sequence or it doesn't matter?

Please enlighten me ;)

eddy2099
05-29-2002, 06:59 AM
Jeffry,

You can put the ns1 and ns2 in any sequence. It does not actually matter.

What happens is that you actually only require one name server entry as if it online, it would use that one. I noticed that some isps uses the first name server entry first, the others take the last one first.

In theory, if you have two sites (same name) hosted on two servers and the ns1 and ns2 points to each of the servers, it will cause traffic to be pointed to which name server which is active.

For example, if ns1 points to server one and if ns1 is active and working, traffic would be diverted to it. But if ns1 name server is down, the 2nd is being used and that would point to the server two.

Of course, if the name server ns1 is functioning but site one is down, well, you probably get to see nothing as nothing can be resolved.

Edwin

jeffrylee
05-29-2002, 07:15 AM
Hey! Thanks Edwin.. ;)