rndc ???

James A Griffin agriffin at cpcug.org
Mon Apr 9 22:37:10 UTC 2001


Veronica,

You probably did not complete the required configuration.  There is
useful information to be found in 'man rndc.conf'.  Also it is necessary
to create the 'control channel' in your /etc/named.conf.
Detail for named.conf are found in chapter 6 of the ARM.  It is found in
the bind-9.1.1/doc/arm directory.  It is html so you can use your
browser.

Here is part of my named.conf:

controls { inet 192.168.1.8
        allow { 192.168.1.8; 192.168.1.14; 192.168.1.3;
        }
        keys { local_key; sparta_key; minerva_key; corinth_key; };
};
 
key local_key {
        algorithm       hmac-md5;
        secret "********************2g==";
};
 
key sparta_key {
        algorithm       hmac-md5;
        secret "********************5Q==";
};                    

If your command (control) channel is properly started, you should find a
message like this in your log:
Apr  4 09:16:27 sparta named[587]: command channel listening on
192.168.1.8#953

Hope this helps.

Regards,
Jim

Veronica Gutierrez Pulido wrote:
> 
> Can anyone tell me why I get the next message?:
> 
> # ./rndc -c /usr/local/etc/rndc.conf reload
> rndc: connect: connection refused
> 
> I installed bind 9.1.0, and i have one primary server and no
> secondary servers.
> 
> Thanks in advance
> 
> Veronica Gutierrez
> IFE


More information about the bind-users mailing list