Problem on installing/config bind

Matus UHLAR - fantomas uhlar at fantomas.sk
Wed Oct 29 08:43:15 UTC 2008


On 28.10.08 21:59, Stephen Liu wrote:
> Performed following test.
> 
> 
> # nano /usr/local/bind/etc/named.conf
> changing;
> /etc/name.root 
> 
> to;
> /usr/local/bind/etc/name.conf

No. Use /etc/named.root (or name.root), named will chroot and search for
pathnames from its own root, which is /usr/local/bind/

> # /usr/local/bind/sbin/named -u named -t /usr/local/bind -c
> /etc/named.conf -g

> # /usr/local/bind/sbin/named -u named -t /usr/local/bind -c
> /etc/named.conf -g
> 28-Oct-2008 13:41:30.744 starting BIND 9.5.0 -u named -t
> /usr/local/bind -c /etc/named.conf -g
> 28-Oct-2008 13:41:30.746 loading configuration from '/etc/named.conf'
> 28-Oct-2008 13:41:30.746 listening on IPv4 interface lo, 127.0.0.1#53
> 28-Oct-2008 13:41:30.747 listening on IPv4 interface eth0,
> 192.168.0.203#53
> 28-Oct-2008 13:41:30.749 default max-cache-size (33554432) applies
> 28-Oct-2008 13:41:30.750 automatic empty zone: 0.IN-ADDR.ARPA
> 28-Oct-2008 13:41:30.750 automatic empty zone: 127.IN-ADDR.ARPA
> 28-Oct-2008 13:41:30.750 automatic empty zone: 254.169.IN-ADDR.ARPA
> 28-Oct-2008 13:41:30.750 automatic empty zone: 2.0.192.IN-ADDR.ARPA
> 28-Oct-2008 13:41:30.750 automatic empty zone:
> 255.255.255.255.IN-ADDR.ARPA
> 28-Oct-2008 13:41:30.750 automatic empty zone:
> 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.0.IP6.ARPA
> 28-Oct-2008 13:41:30.751 automatic empty 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
> 28-Oct-2008 13:41:30.751 automatic empty zone: D.F.IP6.ARPA
> 28-Oct-2008 13:41:30.751 automatic empty zone: 8.E.F.IP6.ARPA
> 28-Oct-2008 13:41:30.751 automatic empty zone: 9.E.F.IP6.ARPA
> 28-Oct-2008 13:41:30.751 automatic empty zone: A.E.F.IP6.ARPA
> 28-Oct-2008 13:41:30.751 automatic empty zone: B.E.F.IP6.ARPA
> 28-Oct-2008 13:41:30.752 default max-cache-size (33554432) applies:
> view _bind
> 28-Oct-2008 13:41:30.753 none:0: open: /usr/local/bind/etc/rndc.key:
> file not found

remove the /usr/local/bind here

> 28-Oct-2008 13:41:30.753 couldn't add command channel 127.0.0.1#953:
> file not found
> 28-Oct-2008 13:41:30.753 none:0: open: /usr/local/bind/etc/rndc.key:
> file not found
> 28-Oct-2008 13:41:30.753 couldn't add command channel ::1#953: file not
> found
> 28-Oct-2008 13:41:30.753 ignoring config file logging statement due to
> -g option
> 28-Oct-2008 13:41:30.755 running
> 
> Here it seems waiting for input???

No, it runs. named doesn't process input. the "-g" caused it to stay in
foreground instead of backgrounding as it usually does.

> I suppose getting it done now???

yes, just fix the rest of config file and remove the "-g"
-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I drive way too fast to worry about cholesterol. 


More information about the bind-users mailing list