Problems testing rndc with BIND 9.1.3

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Thu Aug 9 22:07:59 UTC 2001


> All, 
> 
> Not sure why but in testing rndc with BIND version 9.1.3 I receive an error
> messages 
> 
> "named[186]: [ID 295310 daemon.error] /etc/named.conf:4:syntax error near
> allow"
> 
> below is the syntax from my named.conf file
> 
> 
> controls {
>         inet * allow { all; } keys { "rndc-key"; };
> };
> 
> key "rndc-key" {
>         algorithm hmac-md5;
>         secret "Zm9vCg==";
> };
> 
> Any suggestion would be appreciated.
> 
	Your syntax is fine here.  named-checkconf gave it a clean bill
	of health (both the 9.1.x and 9.2.x versions).

	I would be using the builtin acl "any" rather than "all".

	Also it is better to define a key before you use it.  This
	is manditory for BIND 8.

	Mark

> Thanks 
> 
> > Vinson Armstead
> > 
> 
> 
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list