From owner-freebsd-questions@FreeBSD.ORG Wed Nov 10 15:44:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7930F16A4CE for ; Wed, 10 Nov 2004 15:44:30 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2837F43D1F for ; Wed, 10 Nov 2004 15:44:30 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (sccrmhc12) with ESMTP id <2004111015442701200rf9a7e>; Wed, 10 Nov 2004 15:44:27 +0000 Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16]) by hivemind.trini0.org (Postfix) with ESMTP id CED591A2 for ; Wed, 10 Nov 2004 10:44:26 -0500 (EST) Message-ID: <4192375E.7050603@trini0.org> Date: Wed, 10 Nov 2004 10:44:30 -0500 From: Gerard Samuel User-Agent: Mozilla Thunderbird 0.8 (X11/20041015) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsdquestions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: BIND9 dump file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 15:44:30 -0000 Im getting a bunch of these in the logs -> Nov 10 10:30:48 gatekeeper named[312]: dumping master file: master/tmp-SLtSQEmBBK: open: permission denied So I figured a filesystem permissions problem. I chowned /var/named/etc/namedb/master to bind:wheel. But when the box gets rebooted, the directory goes back to root:wheel. Im currently using BIND9 only for the LAN (cacheing dns). Thanks for any info that you may provide... /etc/rc.conf -- named_enable="YES" named_chrootdir="/var/named" /var/named/etc/namedb/named.conf -- options { directory "/etc/namedb"; pid-file "/var/run/named/pid"; dump-file "/var/dump/named_dump.db"; statistics-file "/var/stats/named.stats"; forward only; forwarders { w.x.y.z; a.b.c.d; }; }; key DHCP_UPDATER { algorithm HMAC-MD5.SIG-ALG.REG.INT; secret my_key_here; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "master/localhost.rev"; }; zone "trini0.org" { type master; file "master/trini0.org"; allow-update { key DHCP_UPDATER; }; }; zone "0.168.192.in-addr.arpa" { type master; file "master/trini0.org.rev"; allow-update { key DHCP_UPDATER; }; }; // RFC 3152 zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA" { type master; file "master/localhost-v6.rev"; }; // RFC 1886 -- deprecated zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" { type master; file "master/localhost-v6.rev"; };