From owner-freebsd-isp Wed Jan 12 14:19:14 2000 Delivered-To: freebsd-isp@freebsd.org Received: from proteus.eclipse.net.uk (proteus.eclipse.net.uk [195.188.32.118]) by hub.freebsd.org (Postfix) with ESMTP id 6152814D62 for ; Wed, 12 Jan 2000 14:19:12 -0800 (PST) (envelope-from sh@eclipse.net.uk) Received: from eclipse.net.uk (elara.eclipse.net.uk [195.188.32.31]) by proteus.eclipse.net.uk (Postfix) with ESMTP id A5A509BB6; Wed, 12 Jan 2000 22:19:04 +0000 (GMT) Message-ID: <387CFDEF.7EE0A2FC@eclipse.net.uk> Date: Wed, 12 Jan 2000 22:19:27 +0000 From: Stuart Henderson Organization: Eclipse Networking Ltd. X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en-GB MIME-Version: 1.0 To: patl@phoenix.volant.org Cc: freebsd-isp@freebsd.org Subject: Re: Maintaining recriprocal DNS secondaries References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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