samba4 samba-tool dns questions

David Mansfield samba at
Fri Nov 16 09:37:24 MST 2012

On 11/15/2012 07:43 PM, Amitay Isaacs wrote:
> Hi David,
> On Fri, Nov 16, 2012 at 9:23 AM, David Mansfield<samba at>  wrote:
> >  With "samba-tool dns"  subcommands there appears to be no documentation of
> >  the various fields.  E.g how do I set the TTL of an SOA record? Using
> >  "samba-tool dns zonecreate --help " just shows:
> >
> >  samba-tool dns zonecreate<server>  <zone>  [options]
> >
> >  What are the "options"? I'm willing to dig around in source and update the
> >  wiki or something if it would be helpful, but where do I look?

> samba-tool dns zonecreate currently creates an empty zone.  The SOA
> settings are actually part of '@' record.  So first you create an
> empty zone and then add '@ record using samba-tool dns add.
> It seems I have missed the implementation of adding SOA records in
> samba-tool . Coming soon. :)
> Meanwhile you can use windows dns management tool to create zone with
> correct SOA record.

After creating a zone, (reverse) and populating a PTR record, it seems 
samba internal DNS still uses the "forwarder" configured in smb.conf for 
that zone until a restart of samba.  Is this correct and intentional?

David Mansfield
Cobite, Inc.

More information about the samba-technical mailing list