Bugzilla – Bug 128821
dhcpd.conf - include "/etc/rndc.key"; is giving error
Last modified: 2005-10-20 11:48:08 UTC
error in var/log/messages dhcpd: Can't open /etc/rndc.key: No such file or directory although file does exist and syntax is correct. named.conf accepts this include command without error message. My temporary solution: copy/paste the content of the rncd.key file into the dhcpd.conf file
Why do you want to include the file in dhcpd.conf? I don't see a reason.
to enable dynamic dns updates from dhcpd to named; both config files need a common key definition used to authenticate the dhcpd->named update. key definition can be done by either copying the keydefinition into both files (dhcpd.conf and named.conf) or keep the key in a single file and reference to it (like an "include "/etc/rndc.key" in dhcpd.conf/named.conf). Is my assumption incorrect and/or /etc/rndc.key used for another purpose and not intended for this one?
partly incorrect: the /etc/rcnd.key is meant to contain a different key file -- the one to control the name server daemon (start, stop, query for stats, ...) with the rndc tool. See man 8 rndc. For the DDNS key the following documentation should answer all questions: # rpm -ql dhcp-server | grep DDNS /usr/share/doc/packages/dhcp-server/DDNS-howto.txt /usr/share/doc/packages/dhcp-server/genDDNSKey.sh If questions remain, you can contact me per mail (I am the author of the documentation). For remaining problems, please reopen the bug or open a separate bug.