Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a question regarding DNS which I was asked in an interview and I was bit confused.

The question is, if I have two DNS server can those two DNS server have a same name?

I asked this question to some of them but I got different answers, one said Yes the two DNS server can have the same name. Another guy said No for it, and said it might bring conflict. And another guy told me 'I am not sure'... yes it can have same DNS server name but not in the same domain.

And this is confusing me a lot, is it *YES or NO* please give an simple explanation. And the last guy said yes but no for the same domain, I didn't completely understand this.

share|improve this question
Can you give examples of what you mean? Although honestly, after reading this I fear that having you provide examples would still be confusing. If you mean... I have two separate computers that each act as DNS servers. Can I name them each dns1.niteshdns.com? Or do I have to name one dns1.niteshdns.com and the other dns2.niteshdns.com.... then could you explain that better? Otherwise, what exactly do you mean when you say "the same name"? – Bon Gart Jan 22 at 13:59
Have two different DNS servers with the same name would create a conflict. – Ramhound Jan 22 at 15:01
Same name, different IPs and going into a load balancer to serve each out round robin? – Fiasco Labs Jan 22 at 15:32
I have two computers that acts as a DNS servers. Now can i have them both with the same name dns1.niteshdns.com ? – Nitesh Jan 22 at 18:35

1 Answer

up vote 0 down vote accepted

You would generally keep both dns servers with different names if you're talking about the actual computer names, I can't think of any situation where naming two dns servers the same would be helpful at all and would most likely just cause confusion and even name resolutions issues, you should use one as a primary and another as a secondary for most setups.

share|improve this answer
DNS Servers in a cluster? – Fiasco Labs Jan 22 at 15:33
I assume you're trying to balance the load of name resolution between two dns servers? Are these Virtual machines in a cluster? – charles.schlue Jan 23 at 14:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.