DNS Slave Issues on Fedora

I recently updated one of my servers to Fedora Core 2, and one of its jobs is to provide DNS slave service. I could not for the life of me figure out why I was getting the following message when sending zone notifies:

Oct 11 17:11:44 saturn named[30297]: received notify for zone 'guyton.net': 
                not authoritative

The main problem was that I didn’t follow convention with ns records, so I fixed them up. Still nothing fixed, but I got things in better shape, theoretically.

It turns out that Fedora’s named runs chrooted to /var/named, even though there is an /etc/named.conf file. That’s misleading – you really need to edit the /var/named/chroot/etc/named.conf file. That in itself didn’t fix things, however:

Oct 11 21:45:47 saturn named[31267]: transfer of 'guyton.net/IN' from 
                failed while receiving responses: permission denied
Oct 11 21:45:47 saturn named[31267]: transfer of 'guyton.net/IN' from
                end of transfer

I had to chgrp named /var/named/chroot/var/named; chmod g+w ... so that the replicated zones could be written as the named user.

Problem solved, but it took some tinkering. I found a couple of other items that were improved upon in the process, so it was not a bad thing. I also softlinked /etc/named.conf to /var/named/chroot/etc/named.conf so that it would remain obvious.

Share and Enjoy:
  • Print
  • Facebook
  • Twitter
  • PDF

One Reply to “DNS Slave Issues on Fedora”

  1. It looks like FC3 is a little more in line. All is set up accordingly, but you need to use the slaves subdirectory for slave files. Everything else works fine.

Leave a Reply

Your email address will not be published. Required fields are marked *