rndc: no key definition for name rndc.key

Mark_Andrews at isc.org Mark_Andrews at isc.org
Mon Sep 22 22:13:11 UTC 2003


> I am unable to eliminate the error message "rndc: no key definition for 
> name rndc.key".
> 
> This is my first BIND configuration. I have used the procedure at 
> http://www.soapi.com/howto/bind.htm; tried to include what I could 
> gather from 
> http://www.redhat.com/archives/redhat-install-list/2003-February/msg00312.htm
> l;
> read the O'Reilly Cricket book; read every entry in Google for "rndc: no 
> key definition for name rndc.key"; and so forth. I have apparently not 
> absorbed that reading adequately. This problem may turn out to have a 
> simple solution like an ommitted comma, and I am likely to take a 
> beating for being so clueless, but I am stumped, want to learn how to 
> fix this, and can find no better place to ask than this group. If anyone 
> can point out my errors I would very much appreciate it.
> 
> This server runs Red Hat 9 relatively unmodified, a Linksys BEFW11S4 v2 
> router, internal static IP 192.168.1.103, WAN IP from Earthlink, 
> nameservers from registrar Namecheap. Apache seems to function normally, 
> serving www.wallysanford.com, I can resolve everything I try on the web, 
> and dig reports apparently normal answers. Port 53 is forwarded to 
> 192.168.1.103 by the router.
> 
> include "/etc/rndc.key";
>
> controls {
>              inet 127.0.0.1 allow { localhost; } keys { rndckey; };
>     };
>
> RNDC.CONF
> 
> options {
>          default-server  localhost;
> # or "default-server  192.168.1.103; "?	
> # or "default-server  wallysanford.com; "?
> # or "default-server  wally.wallysanford.com; "?		
>          default-key     "rndc.key";
> };
> 
> # Necessary? Before or after server directives?
> include "/etc/rndc.key";
> 
> server localhost {
>          key     "rndc.key";
> };

	What key name do you have in /etc/rndc.key?

	"rndc-key" or "rndc.key" or "rndckey" or ....?

> 
> I thank you in advance for your constructive comments.
> 
> -- 
> Wally Sanford
> http://wallysanford.com
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list