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

DDns & rndc.keys



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

Hi
I'm trying to get Dynamic DNS to work. I'm following this howto:
http://www.arda.homeunix.net/dnssetup.html

The main problem is that i'm having problem with which key is used
where? FX in the rndc.key file there is three keys. But what is the 3th
for? One for Master-/SlaveCommunication, one for DHCP-/DnsCommunication,
and one for .... ?! And when i run Bind, i hget a redifined error:
Stopping domain name service: namedrndc: error: /etc/bind/rndc.key:7:
'key' redefined near 'key'
rndc: could not load rndc configuration

When Bind9 was installed, the rndc-key had a secret-key.
"/etc/bind/rndc.key"
	key "rndc-key" {
	        algorithm       hmac-md5;
	        secret
	        "<Key1>";
	        };

	key "ddns" {
	        algorithm       hmac-md5;
	        secret
	        "<Key2>";
	};

	key "master-slave" {
	        algorithm       hmac-md5;
	        secret
	        "<Key3>";
	};

And here. What key shall i use?
"/etc/rndc.conf"
	options {
	        default-server  localhost;
	        default-key     "rndc-key";
	};

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

	key "rndc-key" {
	        algorithm       hmac-md5;
	        secret
	        "<Key1>";
	};

So does any one know which goes where, i guess the redefined error wil
vanish. And last, when i make the key, there is two files. The public
and the private, which ones shall i paste in the conf-files?

- --
/Lars
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDbTyDSdVv6NOAbD4RAutEAJ9wlUFWAis9kbdsI8g6IfQcu3veNACeKRwg
y+xXsfrUu9DRZjCSqMGxNNY=
=ldci
-----END PGP SIGNATURE-----



Reply to: