Solved

DNS Nameserver, order of usage

Posted on 2011-03-09
2
844 Views
Last Modified: 2013-12-25
I use multiple nameservers for a critical domain. We use 5 nameservers.

If I have 5 nameservers listed with our registrar, is it the case that the 5th nameserver will not be used by any visitors (dns resolvers), unless the first 4 are down or unavailable?

Can I count on this order to remain intact?

Meaning... If the first nameserver (let's call it ns1) is responding adequately, then everybody would use ns1, and nobody would use ns5, unless ns1-ns4 were down.

I want the 5th server only to be queried for dns if the first 4 are completely out. Please let me know if this is how authoritative nameservers are designed to be used.

Thank you!
-Adam
0
Comment
Question by:ajmco
2 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
ID: 35092832
> Can I count on this order to remain intact?
No, the usual/default case for dns is random load balancing - in other words, if registrar is asked for nameservers for Your domain it will return a random order list of them. The client(resolver) should then try them first to last.
To verify simply issue few times (under any linux or similar): host -t ns yourDomain.tld # You'll see the random ordered replies

> I want the 5th server only to be queried for dns if the first 4 are completely out.
Ask Your registrar if he can do it for You.
0
 
LVL 57

Expert Comment

by:giltjr
ID: 35094480
I second ravenpl's answer.  

The idea behind the load balancing is that a single DNS server is not over whelmed with all of the requests.  If DNS requests were sent to server in the "order listed", then the 1st one listed would get swamped and have performance problems.

I don't think you can have a "standby" DNS server that activates only when the other are down.  Part of the problem is that in the TCP/IP world you don't know something is down until you try to connect to it.

The closest thing you could possibly do is to have a SINGLE IP address for your name server, put your 5 boxes behind a load balanacer. Setup the load balancer to to balance between 1-4 and only use 5 if 1-4 are down.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question