[Samba] Adding MX record to internal server

Philippe Clérié pclerie at gmail.com
Wed Jun 27 13:52:33 UTC 2018


I'm trying to add a MX record to a Samba DC with internal DNS using the
following syntax:

samba-tool dns add dns.example.com example.com example.com MX "
smtp.example.com 10" -U domainadmin

And I get:

Failed to bind to uuid 50abc2a4-574d-40b3-9d66-ee4fd5fba076 for
ERROR(runtime): uncaught exception - (-1073741643, '{Device Timeout} The
specified I/O operation on %hs was not completed before the time-out period
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 1062,
in run
    dns_conn = dns_connect(server, self.lp, self.creds)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 40, in
    dns_conn = dnsserver.dnsserver(binding_str, lp, creds)

Google doesn't help much. All I found was several messages from people
looking for the correct syntax for adding an MX. I sort of stumbled on the
above myself.

I'm also pretty sure that the server works correctly because I had just
added a records for hosts imap, smtp and archives.

Thanks in advance


The trouble with common sense is that it is so uncommon.

More information about the samba mailing list