[Samba] dnsupdate_nameupdate_done - Failed DNS update

Rowland Penny rpenny at samba.org
Fri Sep 23 16:49:20 UTC 2016


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

> OK, the code from samba_dnsupdate :
> nsupdate_cmd = lp.get('nsupdate command')
> [....]
>         cmd = nsupdate_cmd[:]
>         cmd.append(tmpfile)
>         ret = subprocess.call(cmd, shell=False, env=env)
> 
> And
> $ sudo /usr/local/samba/bin/samba-tool testparm
> --parameter-name=nsupdate\ command
> /usr/bin/nsupdate -g
> 
> But, I don't have anything called nsupdate anywhere on my machine,
> which I guess is the problem.
> $ find / -name nsupdate 2>/dev/null
> $
> 
> I thought that nsupdate was something for using BIND, not internal
> DNS; maybe I'm wrong there.
> 

Well, wrong and right ;-)
Wrong, in that you need it for the updates and right that it comes from
Bind.

You need to install it, it is called bind9utils on debian.

Rowland



More information about the samba mailing list