?
Solved

DNS Nameserver, order of usage

Posted on 2011-03-09
2
Medium Priority
?
863 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 2000 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

800 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