Re: named & rndc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri September 21 2007 18:50, Craig White wrote:

>  [root@srv1 etc]# kill 26598
>  [root@srv1 etc]# service named restart
>  Stopping named:                                            [FAILED]
>  Starting named:                                            [  OK  ]

After you have killed named start it with 'start' not 'restart'.

>  if I try...
>  # service named status
>  rndc: connection to remote host closed
>  This may indicate that the remote server is using an older version of
>  the command protocol, this host is not authorized to connect,
>  or the key is invalid.
>
>  but looking at my named.conf, I'm directly including rndc.key
>  # grep rndc named.conf
>          inet 127.0.0.1 allow { localhost; } keys { DYNAMIC_DNS_KEY;
>  rndc.key; };
>  include "/etc/rndc.key";

This doesn't look right.  My control section in named.conf is :

controls {
        inet 127.0.0.1 allow { any; }
        keys { rndc-key; };

No need for 'include '.  Your rndc.conf should also be located in your 
chroot /etc dir.

Take notice to what is in between {} in the keys statement.  This has to match 
what is in your rndc.conf file.


server localhost {
        key     "rndc-key";
};


-- 

Regards
Robert

Smile... it increases your face value!
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux