[Samba] dnsupdate_nameupdate_done - Failed DNS update

Rowland Penny rpenny at samba.org
Fri Sep 23 16:40:07 UTC 2016


On Fri, 23 Sep 2016 17:21:53 +0100
Jonathan Hunter via samba <samba at lists.samba.org> wrote:

> Thank you Denis and Rowland - I didn't realise this was the script,
> makes sense now.
> 
> I've run it (on dc2) and it gets as far as:
> 
> need update: SRV
> _ldap._tcp.mysite._sites.ForestDnsZones.mydomain.org.uk
> dc2.mydomain.org.uk 389 [lots of updates needed]
> 10 DNS updates and 0 DNS deletes needed
> Successfully obtained Kerberos ticket to DNS/dc1.mydomain.org.uk as
> DC2$
> 
> and then it fails here:
> update(nsupdate): SRV _ldap._tcp.mysite._
> sites.ForestDnsZones.mydomain.org.uk dc2.mydomain.org.uk 389
> Calling nsupdate for SRV _ldap._tcp.mysite._
> sites.ForestDnsZones.mydomain.org.uk dc2.mydomain.org.uk 389 (add)
> Failed nsupdate: SRV
> _ldap._tcp.mysite._sites.ForestDnsZones.mydomain.org.uk
> dc2.mydomain.org.uk 389 : [Errno 2] No such file or directory
> 
> which I assume is due to a needed file not being in $PATH, or similar.
> 
> I'll have a poke about using strace and see if I can spot exactly
> what it's trying to run, and where it might be..
> 
> Thanks, both - I'm much further forward now!
> 

Get a bit further by reading this:

https://wiki.samba.org/index.php/Verifying_and_Creating_a_DC_DNS_Record

Rowland



More information about the samba mailing list