Samba4 DNS Updates - Linux Clients - Is it possible?

Mike Howard mike at dewberryfields.co.uk
Wed Jan 18 08:10:25 MST 2012


On 18/01/2012 13:05, Michael Wood wrote:
> Hi
>
> On 18 January 2012 14:17, Mike Howard<mike at dewberryfields.co.uk>  wrote:
>> Hi All,
>>
>> I've asked on the lists about this before, I've searched the lists and
>> trawled the net but all without any real answers. I have samba4 setup as the
>> PDC and bind 9.8.1-P1 built and working. I have windows clients joining the
>> domain and DNS is updated, an extract from the system log confirms this;
>>
>> Jan 15 06:30:04 ns1 named[15752]: samba_dlz: starting transaction on zone
>> mydomain.co.uk
>> Jan 15 06:30:04 ns1 named[15752]: samba_dlz: allowing update of
>> signer=vpc1\$\@mydomain.CO.UK name=vpc1.mydomain.co.uk tcpaddr= type=A
>> key=1080-ms-7.484-9db71388.b7bfb2e0-2731-11e1-b889-8ef61d81d4c1/160/0
>> Jan 15 06:30:04 ns1 named[15752]: samba_dlz: allowing update of
>> signer=vpc1\$\@mydomain.CO.UK name=vpc1.mydomain.co.uk tcpaddr= type=A
>> key=1080-ms-7.484-9db71388.b7bfb2e0-2731-11e1-b889-8ef61d81d4c1/160/0
>> Jan 15 06:30:04 ns1 named[15752]: client 192.168.3.50#55501: updating zone
>> 'mydomain.co.uk/NONE': deleting rrset at 'vpc1.mydomain.co.uk' A
>>
>> Joining with a linux client DNS update fails (system log extract);
>>
>> Jan 18 10:23:34 ns1 named[30891]: samba_dlz: starting transaction on zone
>> mydomain.co.uk
>> Jan 18 10:23:34 ns1 named[30891]: client 192.168.3.152#51434: updating zone
>> 'mydomain.co.uk/NONE': update unsuccessful: wheezy.mydomain.co.uk/A: 'RRset
>> exists (value dependent)' prerequisite not satisfied (NXRRSET)
> As far as I remember, this means that there was already an entry for
> wheezy.mydomain.co.uk and bind refused to update it because there's a
> pre-requisite (somewhere) that says there must not be an entry for the
> host when the host tries to update.
>
> This could be a red herring, though.  i.e. this pre-requisite might
> not apply if something else is done differently.  It might be worth
> trying to delete the DNS entry before joining, though, to see if it
> makes a difference.

A red herring me thinks. No entry for wheezy has ever existed, at least 
to my knowledge (using nslookup etc).

In fact, I've just had a frightening thought. I'm showing my ignorance 
here but, do I actually need Samba DNS updates at all? With a DHCP 
server setup, Bind9 server setup and dynamic updates working flawlessly 
(they were before I deployed Samba4), why am I worrying about samba4 at 
all. Appologies for my public ramblings but I seem to have been going 
round in circles for so long I've forgotten where I started.

Cheers,
Mike.
-- 
Any question is easy if you know the answer!


More information about the samba-technical mailing list