Dynamic DNS and failed journal
Paul Howarth
paul at city-fan.org
Mon Jul 31 07:53:19 UTC 2006
On Mon, 2006-07-31 at 17:37 +1000, Brian Chadwick wrote:
> Hi
>
> On FC5 I have dhcpd running and attemtping to update the DNS server from
> DHCP.
>
> a log output from bind is as follows:
>
> 31-Jul-2006 17:27:55.658 general: notice: running
> 31-Jul-2006 17:28:08.013 update: info: client 192.168.10.254#32826:
> updating zone 'bac.org.au/IN': adding an RR at 'box.bac.org.au' A
> 31-Jul-2006 17:28:08.014 update: info: client 192.168.10.254#32826:
> updating zone 'bac.org.au/IN': adding an RR at 'box.bac.org.au' TXT
> 31-Jul-2006 17:28:08.015 general: info: journal file
> /var/named/bac.org.au.hosts.jnl does not exist, creating it
> 31-Jul-2006 17:28:08.016 general: error:
> /var/named/bac.org.au.hosts.jnl: create: permission denied
> 31-Jul-2006 17:28:08.016 update: info: client 192.168.10.254#32826:
> updating zone 'bac.org.au/IN': error: journal open failed: unexpected error
>
> I am sure my dhcpd and named config files are ok, as far as allowing
> dynamic updates are concerned anyway ... but there seems to be a
> permission problem in trying to create bind's zone journal.
>
> I have fiddled with permissions, even going so far as to use 777 !! ...
> but the error persists. The update apparantly fails because this journal
> can not be created and/or written. This is a stock standard FC5
> installation.
>
> I suspect this is something to do with the chrooted environment in which
> bind is running ....
>
> Any ideas people?
/var/named isn't normally writable by the named process.
Try configuring your DNS server to maintain the DDNS zone file in
the /var/named/slaves directory instead, which is writable by named.
Paul.
More information about the fedora-list
mailing list