I added the 'key' statement to both files and now I get:

[root@felix etc]# rndc reload
rndc: connect: not found

-Devon

-----Original Message-----
From: Michael Fratoni [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, June 11, 2002 8:41 PM
To: [EMAIL PROTECTED]
Subject: Re: rndc error

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 07 June 2002 11:52 am, Devon Harding - GTHLA wrote:
> I noticed that ndc was replaced by rndc in RedHat 7.3.  But when I try
> to restart my name server I get the following error:
>
> [root@rocky root]# rndc reload
> rndc: get key definition: not found
>
> How do I fix this?

The version number may differ, but info is here:
/usr/share/doc/bind-9.2.1/arm/Bv9ARM.ch03.html
See the admin tools section of that page.

Basically, You need to define a key in both /etc/named.conf, and 
/etc/rndc.conf

[root@tuxfan root]# tail -5 /etc/named.conf
key "key" {
        algorithm hmac-md5;
        secret "Your secret here";
};

[root@tuxfan root]# cat /etc/rndc.conf
options {
        default-server  localhost;
        default-key     "key";
};

server localhost {
        key     "key";
};

key "key" {
        algorithm       hmac-md5;
        secret "Your secret here";
};

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj0GmJkACgkQn/07WoAb/SuaAQCfVNti+DijRI8+9+mp50W+4ycI
6S0An3/5Rhq0AOPO87CykQJwPRtmmNpf
=Safx
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to