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: 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: transfer of 'guyton.net/IN' from 10.1.1.14#53: failed while receiving responses: permission denied Oct 11 21:45:47 saturn named: transfer of 'guyton.net/IN' from 10.1.1.14#53: 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
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
/var/named/chroot/etc/named.conf so that it would remain obvious.