[Samba] dnsupdate_nameupdate_done - Failed DNS update

Rowland Penny rpenny at samba.org
Fri Sep 23 15:39:15 UTC 2016


On Fri, 23 Sep 2016 16:31:06 +0100
Jonathan Hunter <jmhunter1 at gmail.com> wrote:

> Thanks Rowland, I tried that just now, but as soon as I restarted
> samba, the error occurred again a few seconds afterwards. The good
> news, I suppose, is that it's easy to reproduce - each time I restart
> samba I get the error :) But, it wasn't helped by adding "allow dns
> updates = nonsecure" to smb.conf on one of my DCs.
> 
> I wonder if there is some error being flagged by the internal DNS sync
> mechanism, instead of the port 53 listener - which would explain why
> it happens when I start up samba, and why I can't see any relevant
> traffic using tcpdump.. The comment above 'dnsupdate_nameupdate_done'
> says that it is "called when dns update script has finished". If I
> did not get the error, the code would instead continue to run, and
> log the message "Completed DNS update check OK".
> 
> is there a way I can manually do whatever it is that a DNS update
> check does, to see where the problem lies?
> 

You can do what samba does very easily, when you start samba, it runs
samba_dnsupdate, so try 'samba_dnsupdate --verbose'

Rowland
 



More information about the samba mailing list