Mike Leone on 21 Feb 2005 17:55:11 -0000


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

Re: [PLUG] bind9 not allowing WinXp clients to update DDNS


zeek wrote:
> 
> I don't know why your zone files are in /etc/bind --double check
> named.conf 

That's where Debian testing puts them, apparently.

> 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. 

On my Debian testing box, it's user "bind", apparently. Not "named".

Feb 21 12:33:31 mail named[389]: client 127.0.0.1#1109: updating zone
'100.168.192.in-addr.arpa/IN': deleting an rrset
Feb 21 12:33:31 mail named[389]: client 127.0.0.1#1109: updating zone
'100.168.192.in-addr.arpa/IN': adding an RR
Feb 21 12:33:31 mail named[389]: journal file
/etc/bind/192.168.100.ptrs.jnl does not exist, creating it
Feb 21 12:33:31 mail dhcpd: added reverse map from
73.100.168.192.in-addr.arpa. to laptop-mjl.mike-leone.com

And the file is created and owned by user "bind":

-rw-r--r--    1 bind     bind          818 2005-02-21 12:33
192.168.100.ptrs.jnl

root@mail:/etc/bind# ps ax | grep bind
  384 ?        Ss     0:00 /usr/sbin/named -u bind

So "bind" looks to be the right user, at least for me.

For a quick fix, I just made the /etc/bind directory world-writable
(it's a home LAN, I'm not too worried). I will fix it, once I remember
how to make /etc/bind writable by just the user bind.

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