From owner-freebsd-questions@FreeBSD.ORG Tue Feb 13 15:50:09 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41D9D16A400 for ; Tue, 13 Feb 2007 15:50:09 +0000 (UTC) (envelope-from lists@webtent.net) Received: from esmtp.webtent.net (esmtp.webtent.net [208.38.145.5]) by mx1.freebsd.org (Postfix) with ESMTP id 21A1A13C48D for ; Tue, 13 Feb 2007 15:50:09 +0000 (UTC) (envelope-from lists@webtent.net) Received: from localhost (localhost [127.0.0.1]) by esmtp.webtent.net (WebTent ESMTP Postfix Internet Mail Gateway) with ESMTP id 6640C7F52C for ; Tue, 13 Feb 2007 10:50:08 -0500 (EST) X-Virus-Scanned: amavisd-new at webtent.net Received: from esmtp.webtent.net ([127.0.0.1]) by localhost (esmtp.webtent.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bngjT+lYIbrb for ; Tue, 13 Feb 2007 10:49:53 -0500 (EST) Received: from columbus.webtent.org (ftp.webtent.org [70.110.70.43]) by esmtp.webtent.net (WebTent ESMTP Postfix Internet Mail Gateway) with ESMTP id 731D77F392 for ; Tue, 13 Feb 2007 10:49:53 -0500 (EST) From: Robert Fitzpatrick To: FreeBSD Content-Type: text/plain Organization: WebTent Networking, Inc. Date: Tue, 13 Feb 2007 10:47:54 -0500 Message-Id: <1171381674.4205.54.camel@columbus.webtent.org> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit Subject: BIND slave records not updating X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2007 15:50:09 -0000 I'm not a member of any bind list, so I was hoping to be able to ask my question here. I have primary DNS with bind 9.2.4 on Linux servers where there are web GUI's for management. I keep slave records on two FreeBSD servers that serve as our ns1 and ns2, one is 6.1 with the bind port bind9-9.3.3 and it works fine. The other is FreeBSD 5.4-RELEASE with bind9-base-9.3.4, not sure what the base difference is, can someone tell me? This 5.4 server is not updating when changes are made to the primary. I see in the logs on the primary that notifies are sent and the 9.3.3 server, which is at a different facility, updates within minutes, the 5.4 machine on the local network does not. I can't find any bind log information in /var/log/messages on the FreeBSD servers, where would that be? I have to remove the '.bak' zone file and restart the bind process, then it brings over the new zone file as it should re-creating the '.bak' file. I checked the perms on all the files involved, comparing to the 6.1 machine. The zone files all owned by the bind process user. zone "example.com" { type slave; file "slave/example.com.bak"; masters { 10.0.0.48; }; allow-query { 0.0.0.0/0; }; }; esmtp# ls -lah /var/named/etc/namedb/slave/tpghotels.com.bak -rw-r--r-- 1 bind wheel 635B Feb 13 08:19 /var/named/etc/namedb/slave/example.com.bak Again, this exact same setup on the other BSD server works perfectly. The allow-transfer on the primary seems to be working fine since deleting the zone file on the slave and restarting pulls the zone fine. This is our workaround for now, but a pain. Is there a problem with running the different bind9 versions? I can't really do anything about the primary server considering we rely on yum and recommended updates by the system repositories. So, should I keep my slave BSD boxes on that same version 9.2.4? Thanks in advance! -- Robert