named doesn't bind to IP

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Wednesday, February 14, 2007 - 6:50 am

My named doesn't bind to my private IP and only binds to localhost.

starting BIND 9.3.2-P1
command channel listening on 127.0.0.1#953
command channel listening on ::1#953

I already have the listen-on option in /var/named/etc/named.conf file
pointed to my private IP.

options {
listen-on { 192.168.25.5; };
allow-recursion { clients; };
};

If I do a "named -c /var/named/etc/named.conf" it gives error -

none:0: open: /var/named/etc/named.conf: file not found
loading configuration: file not found

But the file is there and all files under /var/named are root:named.

My "/var/named/etc/named.conf" symlinks to /etc/named.conf. And if I
start bind typing "named" it starts on 127.0.0.1 by reading
/etc/named.conf by default.

Also, if I do "named -c /etc/named.conf -g" it actually listens on my
private IP along with localhost. Netstat output -

192.168.25.5.domain *.*

Any help would be appreciated.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
named doesn't bind to IP, atstake atstake, (Wed Feb 14, 6:50 am)
Re: named doesn't bind to IP, Giancarlo Razzolini, (Wed Feb 14, 7:48 am)
Re: named doesn't bind to IP, Paul de Weerd, (Wed Feb 14, 7:01 am)