Well you are running named from BIND 8. BIN8 uses ndc not rndc.
Also the key is after the controls clause which is why you get the
first message. BIND 8 parses the BIND 9 extention but ignores it.
> my problem is:
> in the messages when start named
> May 23 07:30:19 willy named[212]: /etc/named.conf:18: unknown key 'key_wi=
> lly'
> May 23 07:30:19 willy named[212]: /etc/named.conf:18: Ignoring BIND 9 ine=
> t
> control clause
>
> named.conf:acl key_willy { localhost; };
>
> options {
> directory "/";
> named-xfer "/bin/named-xfer";
> query-source address * port 53;
> };
>
> controls {
> inet 127.0.0.1 allow { localhost; } keys { key_willy; };
> };
> key "key_willy" {
> algorithm hmac-md5;
> secret "neu578Ei5KpOJbbADKmr3Q=3D=3D";
> };
>
> zone "." {
> type hint;
> file "master/named.root";
> };
> _____________________________________________________
> rndc.conf
> options {
> default-server localhost;
> default-key "key_willy";
> };
>
> server localhost {
> key "key_willy";
> };
>
> key "key_willy" {
> algorithm hmac-md5;
> secret "neu578Ei5KpOJbbADKmr3Q=3D=3D";
> };
>
>
> HELP
> rndc reload connect failed=20
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews@xxxxxxx
|