Mirroring DNS masters

Steven Job lists at dnsred.tiggee.com
Tue Aug 26 19:39:08 UTC 2003


Dan,

You can always rsynch the the /var/named directory from one machine to the slave machine.  Set it up as a cronjob and you are all set.

But setting it up as a true secondary would probably be the most efficient and you wouldn't have to wait for the cronjob to run.  You can increate the expire time of the secondarys so they do not expire in 12 hours.  You can have it keep giving queries over a year if you want.

$ORIGIN .
$TTL 86400      ; 1 day
yourdomain.com         IN SOA  ns1.yourdomain.com. dns.yourdomain.com. (
                                2002100206 ; serial
                                43200      ; refresh (12 hours)
                                3600       ; retry (1 hour)
                                1209600    ; expire (2 weeks)  YOU CAN SET THIS TO A YEAR IF YOU WANT
                                180        ; minimum (3 minutes)


Don't look at some of my other values.  I don't think they are recommended values by any means, I just wanted to show you where you can look.
But whatever you feel most comfortable with is all that matters.
-Steve

On Tue, 26 Aug 2003, Dan Brown wrote:

> Hi,
> 
> I was just wondering if anyone mirrors their master domain name servers
> as either an exact mirror or a copied mirror for redundancy or load
> balancing.
> We have a couple of Cobalt RaQs which themselves are not hard to setup but
> rather than setting up master and slave nameservers, we would like to setup
> two master servers.  99% of DNS updates would occur on the one server and
> for the most part updating the zone files on the other server is going to
> be handled through a cron job and some scripting using SSH.
> 
> By doing this we hope to acheive the complete redundancy of another master
> server (which would be listed as our secondary, but serves as a mirror on
> another network) rather than a secondary server whose records start to
> expire after 12 hours.
> 
> I've done some searching on both the bind archives as well as Google but
> have only so far been getting hits referencing LDAP.  If anyone could point
> me towards some documentation on either how to do configure mirrored DNS
> masters or what difficulties there are in attempting such a configuration, I
> greatly appreciate it.
> 
> 
> Dan Brown
> dan at amanah.com
> 
> 



More information about the bind-users mailing list