From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 00:42:04 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4114677B for ; Thu, 31 Jul 2014 00:42:04 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DA06F2AFC for ; Thu, 31 Jul 2014 00:42:03 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s6V0g0jN029522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 30 Jul 2014 18:42:01 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s6V0g0Y1029517; Wed, 30 Jul 2014 18:42:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 30 Jul 2014 18:42:00 -0600 (MDT) From: Warren Block To: Burton Sampley Subject: Re: FreeBSD 10.0-R-p7 bind9.9 starting named on boot? In-Reply-To: <1406755686.18043.YahooMailBasic@web120301.mail.ne1.yahoo.com> Message-ID: References: <1406755686.18043.YahooMailBasic@web120301.mail.ne1.yahoo.com> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 30 Jul 2014 18:42:01 -0600 (MDT) Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2014 00:42:04 -0000 On Wed, 30 Jul 2014, Burton Sampley via freebsd-questions wrote: > I have installed 10.0-R and updated to p-7. I have installed Bind9.9 > from ports and have configured a local domain (chicken.fish), which is > doing exactly what I want/need it to do ... until I reboot. It will > not start automagically on reboot. I have added and confirmed > 'named_enable="YES" ' in /etc/rc.conf, but named is not running after > a reboot. I checked dmesg and /var/log/messages, but did not see any > error messages for named. I can manually start named with > "/usr/sbin/service named start" and it will run without issue, until I > reboot. No error messages, but is the normal named startup message shown in /var/log/messages? > named_enable="YES" This is enough by itself. > named_program="/usr/local/sbin/named" > named_conf="/usr/local/etc/namedb/named.conf" Don't set these, they are defaults. It works for me, so at least it is possible. The first thing that comes to mind is that the machine may be starting named before the network interface is up. See man rc.conf | less -p netwait for a method of making the startup wait for an IP address to actually become available before continuing.