1836357 Members
1900 Online
110100 Solutions
New Discussion

DNS Master and Slave

 
SOLVED
Go to solution
Joe White
Frequent Advisor

DNS Master and Slave

Hi,
I'm building three DNS servers which will be master for three individual domains. Because of limited budget and no other systems to work with I'm being asked if I can also make each of the masters a secondary of the other domains. Is this possible?
5 REPLIES 5
James Specht
Trusted Contributor

Re: DNS Master and Slave

If you don't have a problem with each DNS server carrying all three zones you can do it. Setup all three servers as the master DNS server for all three zones. Pick one server to do your edits on and have a cron job send the updates to the other two servers hourly, daily which ever you feel is needed. This way you have three master DNS servers with no real slaves.

This was just discussed in another thread last week.
"Everyone can be taught to sculpt: Michelangelo would have had to be taught how not to. So it is with the great programmers."
James Specht
Trusted Contributor

Re: DNS Master and Slave

Here is that thread I was talking about.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=228075
"Everyone can be taught to sculpt: Michelangelo would have had to be taught how not to. So it is with the great programmers."
Joe White
Frequent Advisor

Re: DNS Master and Slave

Thanks for your response James. If I understand you and the other thread correctly, each servers /etc/named.conf would only have a zone specification for the domain the server is master of (no zone entries with 'type' = slave)and I would copy the other domains database entries from /etc/named.data. Correct?
James Specht
Trusted Contributor
Solution

Re: DNS Master and Slave

Correct. You would still want all three zones in each server though. This way each zone, domain, would be found on any of the three server.

Good Luck!

--Jim
"Everyone can be taught to sculpt: Michelangelo would have had to be taught how not to. So it is with the great programmers."
Geoff Wild
Honored Contributor

Re: DNS Master and Slave

I would just do what you stated in your question....make each box a "primary" for a zone and make each box a secondary for the other "primary" zones. That will give you the most redundancy.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.