You are not logged in.
I am migrating my servers from Ubuntu/Debian to Arch. I am trying to re-create my DHCP server, currently on Ubuntu, in Arch. When I start the server I get the following error:
ct 8 15:36:12 localhost dhcpd: /etc/dhcpd.conf line 210: unknown key rndc.key
Oct 8 15:36:12 localhost dhcpd: key "rndc.key"
The relevant section of my configuration file is:
include "/etc/bind/rndc.key";
zone wilkesley.net. {
primary 192.168.0.47;
key "rndc.key";
}
I have tried specifying the full path in the key section, but still get the same error. I am using the dhcp4 server. Any iidea as what I am doing wrong?
Doh! The problem was the file was called rndc.key, but the actual key in the file was called rndc-key. So:
zone wilkesley.net. {
primary 192.168.0.47;
key "rndc-key";
}
works fine.
Last edited by geekinthesticks (2011-10-08 17:17:21)
Offline