Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: DNS rotation
PostPosted: Sat Jan 09, 2010 8:58 am 
Offline
Senior Member

Joined: Sat Nov 15, 2008 4:24 pm
Posts: 55
Location: Czech Republic
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...


Top
   
 Post subject:
PostPosted: Sat Jan 09, 2010 7:24 pm 
Offline
Senior Member

Joined: Fri Sep 21, 2007 4:12 pm
Posts: 78
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.


Top
   
 Post subject:
PostPosted: Sat Jan 09, 2010 8:08 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group