Bind 9.2.3 ignores listen on option

jcyr at dillobits.com jcyr at dillobits.com
Sun Jan 30 18:36:16 UTC 2005


named.conf contains:

options {
        directory "/etc/named";
        listen-on {
                192.168.0.0/16;
                127.0.0.1;
        };
        listen-on-v6 { none; };
        allow-query {
                192.168.0.0/16;
                127.0.0.1;
        };
        version "Go away!";
};

Yet the following is logged on startup:

Jan 30 17:58:27 brickwall named[2870]: starting BIND 9.2.3 -u named -t /var/named/chroot
Jan 30 17:58:27 brickwall named[2870]: using 1 CPU
Jan 30 17:58:27 brickwall named[2870]: loading configuration from '/etc/named.conf'
Jan 30 17:58:27 brickwall named[2870]: listening on IPv4 interface lo, 127.0.0.1#53
Jan 30 17:58:27 brickwall named[2870]: listening on IPv4 interface eth0, 192.168.1.1#53
Jan 30 17:58:27 brickwall named[2870]: listening on IPv4 interface eth1, 192.168.2.1#53
Jan 30 17:58:27 brickwall named[2870]: listening on IPv4 interface eth2, 66.56.20.170#53
Jan 30 17:58:27 brickwall named[2870]: couldn't add command channel 127.0.0.1#953: not found
Jan 30 17:58:27 brickwall named[2870]: couldn't add command channel ::1#953: not found
Jan 30 17:58:27 brickwall named[2870]: running
Jan 30 12:58:27 brickwall named: named startup succeeded

You will note that eth2 is used despite not contain in the listen-on option. What am I
doing wrong?



More information about the bind-users mailing list