My named doesn't bind to my private IP and only binds to localhost.
Quote:
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.
Quote:
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
All my files under /var/named are root:named.
My "/var/named/etc/named.conf" symlinks to /etc/named.conf. And if I start bind with "named" it starts on 127.0.0.1 by reading /etc/named.conf by default.
Even more odd is, if I do "named -c /etc/named.conf -g" it actually listens on my private IP along with localhost.
192.168.25.5.domain *.*