samba-tool dns

Amitay Isaacs amitay at
Mon Apr 15 04:31:33 MDT 2013

On Mon, Apr 15, 2013 at 5:35 PM, Mathew Moore <mmoore at> wrote:

> Hopefully a really simple question...
> Could someone please point me to where I can get some detailed information
> on the samba-tool dns series of commands. I'm attempting to add a MX
> record, and I'm getting stuck on the correct syntax.  Specificity the data
> element at the end :) :)
> Having the same issue with samba-tool dns delete.  I guess I'm getting old,
> but tonight Google is not my friend. (and neither are the Samba4 guides).
> Probably it's there, and  I read right over it.

samba-tool dns add --help
samba-tool dns delete --help

For MX record, data corresponds to two items, FQDN of mail server and

Here's an example that adds as MX record with
preference 10 for domain my.domain.

  samba-tool dns add <dnsserver> my.domain @ MX " 10"

> For the record, loving samba4. I have 2 samba4 AD controllers running my
> small business. No issues so far that weren't self inflicted.
> Regards in advance.
> Mat


More information about the samba-technical mailing list