Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 May 2007 13:50:40 -0700
From:      Noah <admin2@enabled.com>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   rndc.key auth issues and rndc.key file
Message-ID:  <463A4B20.3070402@enabled.com>

next in thread | raw e-mail | index | archive | help
Hey there FreeBSD'ers,

So I am trying to figure out what is the best configuration for bind on 
my FreeBSD6.2 system.

# pkg_info | grep bind
bind9-9.3.4         Completely new version of the BIND DNS suite with 
updated D
# grep named /etc/rc.conf
named_enable="YES"
named_symlink_enable="YES"
named_program="/usr/local/sbin/named"

something keeps not ending up correctly configured.

I made an rndc.key file
# ls -l /var/named/etc/namedb/rndc.key
-rw-------  1 root  wheel  97 May  3 13:37 /var/named/etc/namedb/rndc.key

and then placed a copy of those contents in my 
/var/named/etc/namedb/named.conf file.

now when I restart (stop) named I receive an error:

# /etc/rc.d/named restart
Stopping named: rndc failed, trying killall: .
Starting named.

what on earth am I doing wrong?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?463A4B20.3070402>