The first step is to be sure bind is installed (vi yum install bind). I also recommend installing bind-chroot (via yum install bind-chroot), this will improve security by running bind in a chroot environment, limiting possible damage to your system should bind be compromised. (take a look at /etc/sysconfig/named after the install).
named: /etc/pki/dnssec-keys//named.dnssec.keys:1: open: /etc/pki/dnssec-keys//production/bg.conf: file not foundThe first thing I tried was:
yum erase bind bind-chroot yum erase unbound yum install bind bind-chrootThis still didn't fix things, so what I did next was to edit named.conf and comment out or disable the following lines.
dnssec-enable no; dnssec-validation no; // dnssec-lookaside . trust-anchor dlv.isc.org.;And, near the bottom of the file:
// include "/etc/pki/dnssec-keys//named.dnssec.keys"; // include "/etc/pki/dnssec-keys//dlv/dlv.isc.org.conf";It would be nice, perhaps, to utilize dnssec, but until fedora packages supply a working set of files, I don't have the time to sort this out.
Note that, in general, you cannot edit /etc/named.conf since named runs in a chroot environment and ignores that file. In light of that, I really don't know what purpose the named.conf file serves, unless it is a link to /var/named/chroot/etc/named.conf, which it may well be. Watch out for other ways the chroot environment can confuse you.
Also note that the package you install is called bind, but the service you start and stop is called named (and they perform the dns server service for you). More opportunities for confusion and frustration. After you edit named.conf to your satisfaction, do this:
service named start chkconfig named on
I got all kinds of errors until I commented out this line:
// include "/etc/named.rfc1912.zones";
Adventures in Computing / [email protected]