zeek on 21 Feb 2005 17:32:03 -0000 |
I don't know why your zone files are in /etc/bind --double check named.conf You needn't create the .jnl files manually, they're created and updated by named. Wherever this is writing, the directory must have write permission by the named process. Chances are, this is running as username named. > -----Original Message----- > From: plug-bounces@lists.phillylinux.org > [mailto:plug-bounces@lists.phillylinux.org] On Behalf Of Mike Leone > Sent: Monday, February 21, 2005 12:18 PM > To: Philadelphia Linux User's Group Discussion List > Subject: Re: [PLUG] bind9 not allowing WinXp clients to update DDNS > > Stephen Gran wrote: > > On Sun, Feb 20, 2005 at 07:50:13PM -0500, Mike Leone said: > >> I run a bind9 DNS at home, on Debian testing. I was > following this page > >> > >> http://www.mattfoster.clara.co.uk/ddns.htm > >> > >> hoping to allow my WinXP laptop to update it's DHCP > address in my DNS. > >> However, I am getting the following message in syslog: > >> > >> Feb 20 19:32:03 mail named[5289]: client > 192.168.100.73#2649: updating > >> zone 'mike-leone.com/IN': update failed: 'RRset exists (value > >> dependent)' prerequisite not satisfied (NXRRSET) > >> Feb 20 19:32:03 mail named[5289]: client > 192.168.100.73#2652: update > >> 'mike-leone.com/IN' denied > >> > >> and I can't tell why. Attached are dhcp and bind config files. > >> > >> Clues, anyone? > >> > >> > > > > Also try > > > > ddns-update-style interim; > > > > in dhcpd.conf > > > > But your major problem is that the updates are coming from > a machine that > > doesn't have access to the secret shared key (I think I > read that right) > > - they need to come from dhcpd, not from the windows client itself. > > To do this, do: > > <SNIP> > > OK; I've added this. Last night, I saw a message that bind could not > update a journal file, because it couldn't create it. So I manually > created a "mike-leone.com.jnl" file, owner bind. > > Then, after making the changes you recommend here (thanks for that, > BTW), I see this, when starting bind: > > Feb 21 12:11:26 mail named[4113]: zone mike-leone.com/IN: journal > rollforward failed: no more > > > Feb 21 12:13:07 mail named[4113]: client 127.0.0.1#4338: updating zone > '100.168.192.in-addr.arpa/IN': deleting an rrset > Feb 21 12:13:07 mail named[4113]: client 127.0.0.1#4338: updating zone > '100.168.192.in-addr.arpa/IN': adding an RR > Feb 21 12:13:07 mail named[4113]: journal file > /etc/bind/192.168.100.ptrs.jnl does not exist, creating it > Feb 21 12:13:07 mail named[4113]: /etc/bind/192.168.100.ptrs.jnl: > create: permission denied > Feb 21 12:13:07 mail named[4113]: client 127.0.0.1#4338: updating zone > '100.168.192.in-addr.arpa/IN': error: journal open failed: > unexpected error > Feb 21 12:13:07 mail dhcpd: unable to add reverse map from > 73.100.168.192.in-addr.arpa. to laptop-mjl.mike-leone.com: timed out > > So I guess I need to make a journal file for the reverse > ptrs, the same > as the journal file I created for the forward. > > I guess what I really need is to make the /etc/bind directory writable > by the user bind. How best to do that? > > > ---------------------------------------------------- > > > > Alternately, if dhcpd and bind are on seperate machines, > > They're not. > > ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|