[Samba] DNS add error

Rowland penny rpenny at samba.org
Wed Jul 24 17:25:26 UTC 2019


On 24/07/2019 18:04, Robert A Wooldridge via samba wrote:
> I'm trying to add an entry to dns.  The IP is external to the domain's 
> IP's.  Here's the error:
>
> athena:~# samba-tool dns add athena.edm-inc.com smtp2.edm-inc.com 
> smtp2 A 134.209.164.116
> Password for [administrator at EDM-INC.COM]:
> ERROR(runtime): uncaught exception - (9717, 
> 'WERR_DNS_ERROR_DS_UNAVAILABLE')
>   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", 
> line 177, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 
> 945, in run
>     raise e
>
The syntax is:

samba-tool dns add <server> <zone> <name> 
<A|AAAA|PTR|CNAME|NS|MX|SRV|TXT> <data>

Your command is:

samba-tool dns add athena.edm-inc.com smtp2.edm-inc.com smtp2 A 
134.209.164.116

Which means you are using the followinf info:

<server> athena.edm-inc.com
<zone> smtp2.edm-inc.com
<name> smtp2
<data> 134.209.164.116

Have you created a zone called 'smtp2.edm-inc.com' ?

Rowland





More information about the samba mailing list