[Samba] dns zone type (primary,ad integrated)

Amitay Isaacs amitay at gmail.com
Mon Feb 25 17:20:48 MST 2013

Hi Peter,

On Mon, Feb 25, 2013 at 9:53 PM, Peter Beck <peter at datentraeger.li> wrote:

> hi guys,
> is there a possibility to change dns zone options with samba-tool ?
> if I create a zone with samba-tool on the Windows Dc, I need to set
> "--client-version=w2k", otherwise the command fails. But with that
> option I get a primary zone (not ad integrated) on the Windows server.
> I know it's possible to change that manually, but if there is an option
> to fix that with samba-tool, i would prefer samba-tool to manage.

What windows version are you running on windows DC? Depending on the
windows version you will have to choose the --client-version.

> The same command (without --client-version) against the samba-server
> works and creates an Active-Directory-integrated zone. Is this by design ?

The default method for creating DNS zone for samba4 is in AD (using DNS
partitions).  Also Samba can understand various --client-version levels.

> Or in other words:
> does it matter if the zone is created on the samba server ?
> as it is ad-integrated it gets replicated anyway, or am I wrong ?
> I am using samba-internal dns.

Samba-tool dns command is used to manipulate DNS zones in AD and those
zones will be replicated to other DCs.

> Regards
> Peter

More information about the samba mailing list