Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2000 22:19:27 +0000
From:      Stuart Henderson <sh@eclipse.net.uk>
To:        patl@phoenix.volant.org
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Maintaining recriprocal DNS secondaries
Message-ID:  <387CFDEF.7EE0A2FC@eclipse.net.uk>
References:  <ML-3.4.947713593.8317.patl@asimov.phoenix.volant.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> But I've been wondering if there are any tools (or bind configuration
> tricks) that would make it easier for a DNS server to keep its list
> of secondaries in sync with a 'foreign' server's primaries list?
>
> Ideally, it would handle the possibility of more than a simple
> 1:1 relationship.  (I.e. ISP A provides secondaries for B and C,
> B provides secondaries for A and D, C provides secondaries only
> for A, etc.)

Here is one way you could handle this.

Split the BIND config files up so that your local settings 
are in named.conf, your domains are in another file, your partner 
ISPs domains are in another. 

Have lines like these at the bottom of named.conf

include "yourdomain/yourdomainconfig"
include "theirdomain/theirdomainconfig" 

Then each run rsync servers, and update from each other's exported 
"yourdomain" directory when it suits you. Rsync uses an intelligent
algorithm which checks which files have changed and sends as few
bytes over the wire as it can, so the updates are small and fast.
/usr/ports/net/rsync is both the server and the client depending
on the command line options you use.

hth,
Stuart


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?387CFDEF.7EE0A2FC>