Questions about new Bind installation

Mark Andrews Mark_Andrews at isc.org
Wed Sep 21 14:13:24 UTC 2005


> Hi,
> 
> I recently set up a FreeBSD 5.3 box and installed Bind 8.4 from ports. The 
> named daemon is not starting up automatically when the box reboots and I 
> need it to  do so. I added the following lines to /etc/rc.conf:
> 
> named_enable="YES"
> named_program="/usr/sbin/named"
> named_flags="-u bind -g bind -c /usr/local/etc/named.conf"
> 
> But named still won't start on reboot. I googled some and found this;
> 
> http://www.zytrax.com/books/dns/ch5/
> 
>  which talks about bind installations from ports on FreeBSD 5.3 being 
> "non-base" installs and bind installations on FreeBSD 5.3 from a downloaded 
> .tar.gz file being a "base" or normal install. The article  goes on to say 
> that the difference is the base version is installed in /usr/sbin (and the 
> tools in /usr/bin) whereas a normal (non-base) installation is made to 
> /usr/local/sbin (and the tools to /usr/local/bin). Finally the standard 
> version assumes the named.conf file in /etc/namedb/named.conf whereas a 
> non-base install assumes /usr/local/etc/named.conf.
> 
> On my system, in /usr/local/sbin I have:
> 
> -rwxr-xr-x  1 root  wheel  718728 Sep 15 16:42 named
> -rwxr-xr-x  1 root  wheel    7627 Sep 15 16:42 named-bootconf

	So you installed BIND 8 into /usr/local but you are attempting
	to start the BIND 9 instance of named with BIND 8 arguements.

BIND 8:
named_enable="YES"
named_program="/usr/local/sbin/named"
named_flags="-u bind -g bind -c /usr/local/etc/named.conf"

BIND 9:
named_enable="YES"
named_program="/usr/sbin/named"
named_flags="-u bind -c /usr/local/etc/named.conf"

> This is the date I installed Bind so I assume these files are correct. In 
> /usr/sbin, however, I have these:
> 
> -r-xr-xr-x  2 root  wheel    1388360 Nov  4  2004 named
> -r-xr-xr-x  1 root  wheel    1089112 Nov  4  2004 named-checkconf
> -r-xr-xr-x  1 root  wheel    1040412 Nov  4  2004 named-checkzone
> -r-xr-xr-x  2 root  wheel       1743 Nov  4  2004 named.reconfig
> -r-xr-xr-x  2 root  wheel       1743 Nov  4  2004 named.reload
> 
> My question is what are these????

	The first three are from BIND 9 which ships as part of FreeBSD 5.
	The last two are the same helper script.
 
> Thanks,
> 
> Lisa Casey

	I'm curious as to why you felt you needed to install BIND 8?
	BIND 9 is pretty much a complete superset of BIND 8.

	Now 

	Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list