Bind 9 and rndc doesn't work too...

Eduardo Romero edo at linux.cl
Wed Dec 13 19:38:38 UTC 2000


I have the same problem like Lisa (solaris 2.6, sun4m).. ;(

I don't understand very well the concept involved in a 'control' statement.
I have the follow in named.conf preface:

key rndc_key {
        algorithm "hmac-md5";
        secret
"c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
};

options {
        directory "/usr/local/named";
        pid-file "named.pid";
        default-server localhost;
        default-key    rndc_key;
};


controls {
                inet 127.0.0.1;
                port 953; 
                allow { 127.0.0.1; } keys { "rndc_key"; };
};

and /etc/rndc.conf :

options {
        default-server  localhost;
        default-key     "key";
};

server localhost {
        key     "key";
};

key "key" {
        algorithm       hmac-md5;
        secret
"c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
};

The syslog says:

Dec 13 16:25:47 alpha.unete.cl named[11465]: starting BIND 9.0.1rc2
Dec 13 16:25:47 alpha.unete.cl named[11465]: loading configuration from'/etc/named.conf'
Dec 13 16:25:47 alpha.unete.cl named[11465]: the default for the 'auth-nxdomain' option is now 'no'
Dec 13 16:25:47 alpha.unete.cl named[11465]: no IPv6 interfaces found
Dec 13 16:25:47 alpha.unete.cl named[11465]: listening on IPv4 interface lo0, 127.0.0.1#53
Dec 13 16:25:47 alpha.unete.cl named[11465]: listening on IPv4 interface le0, 216.241.20.5#53
Dec 13 16:25:47 alpha.unete.cl named[11465]: no key statements for use by control channels
Dec 13 16:26:07 alpha.unete.cl named[11465]: running

When the named start up , doesn't open listen socket at port 953,
any ideas?

btw, i have a Linux redhat 7.0 (2.2.17) with the same problem, suppose that i have
a config mistake ;( 

TIA

Eduardo Romero
edo at linux.cl




More information about the bind-users mailing list