Mike Leone on 21 Feb 2005 21:19:50 -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:

Ready for this? :-)

Feb 21 16:14:05 mail named[1557]: client 192.168.100.73#2099: updating
zone 'mike-leone.com/IN': update failed: 'RRset exists (value
dependent)' prerequisite not satisfied (NXRRSET)
Feb 21 16:14:05 mail named[1557]: client 192.168.100.73#2102: updating
zone 'mike-leone.com/IN': adding an RR
Feb 21 16:14:05 mail named[1557]: journal file
/etc/bind/mike-leone.com.hosts.jnl does not exist, creating it
Feb 21 16:14:05 mail named[1557]: client 192.168.100.73#2105: updating
zone '100.168.192.in-addr.arpa/IN': deleting an rrset
Feb 21 16:14:05 mail named[1557]: client 192.168.100.73#2105: updating
zone '100.168.192.in-addr.arpa/IN': adding an RR
Feb 21 16:14:05 mail named[1557]: journal file
/etc/bind/192.168.100.ptrs.jnl does not exist, creating it
Feb 21 16:14:06 mail named[1557]: client 192.168.100.73#2112: updating
zone '100.168.192.in-addr.arpa/IN': deleting an rrset
Feb 21 16:14:06 mail named[1557]: client 192.168.100.73#2112: updating
zone '100.168.192.in-addr.arpa/IN': adding an RR


Note the location of the journal file. Also, I changed the named.conf:

----------------------------------------------
acl "home" { 192.168.100.0/24; 127.0.0.1;};

zone "mike-leone.com" {
        type master;
        file "/etc/bind/mike-leone.com.hosts";
        allow-update {home; };
};

zone "100.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/192.168.100.ptrs";
        allow-update {home; };
};
----------------------------------------------

I also changed the /etc/bind directory to be chmod a+w.

Yeah, I know, I know - it's supposed to be insecure, allowing updates by
IP rather than by key. But it's a local DNS server, so I may just live
with it.

___________________________________________________________________________
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