[Samba] DNS add - Python error when record exists

Paul Littlefield info at paully.co.uk
Mon Mar 2 12:06:39 UTC 2020


When I run the following command...

$ samba-tool dns add dc3 mydomain.com V-INT A

...I get the following error...

ERROR(runtime): uncaught exception - (9711, 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 176, in _run
     return self.run(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 940, in run
     raise e

...I could have sworn that used to output a nicer looking line ('Record already exists') with no error.

Ubuntu 18.04.4 LTS
Python 2.7.17
Version 4.7.6-Ubuntu



More information about the samba mailing list