Mike Leone on 21 Feb 2005 17:19:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

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.

Attachment: signature.asc
Description: OpenPGP digital signature

___________________________________________________________________________
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