Linode Forum Index Linode Forum
Linode Community Forums
 


DNS rotation

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
drake127



Joined: 15 Nov 2008
Posts: 55
Location: Czech Republic

Posted: Sat Jan 09, 2010 7:58 am    Post subject: DNS rotation  

Can somebody explain me how it is decided which DNS server is used for resolving domain? I understand that I register name server set with my registrar and requests for my name servers are responded by TLD NS. How exactly related are NS in my zone?

I noticed that round-robin is done by all NS servers but for me it is undesirable behaviour as ns1.linode.com is about 200ms from my average visitor and ns5.linode.com is 30ms away.

Is it possible to tell recursive DNS to ask ns5.linode.com first and if it is down jump to 4 3 2 1?

I can set my zone NS to use only ns5 and ns4 but I like to have redundancy without this "balancing" feature that is kind of pain in the a...
Back to top  
kbrantley



Joined: 21 Sep 2007
Posts: 77

Posted: Sat Jan 09, 2010 6:24 pm    Post subject:  

drake127 wrote: Can somebody explain me how it is decided which DNS server is used for resolving domain?

Pick a number, any number. Use that server. That's what it comes down to.

MS DNS servers tend to go with the first nameserver that they get in a reply, so most DNS servers randomize the order of the records that are returned.

Or in short, it is almost entirely random.
Back to top  
glg



Joined: 09 Jan 2009
Posts: 504

Posted: Sat Jan 09, 2010 7:08 pm    Post subject:  

As long as you don't have your TTL set unnecessarily low, it shouldn't matter too much. Users should only need to do the DNS lookup once.
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1