[Samba] Is there any tool to convert DNS database to zone files?

Rowland Penny rpenny at samba.org
Thu Apr 24 06:50:37 UTC 2025


On Thu, 24 Apr 2025 08:55:07 +0300
Sami Hulkko via samba <samba at lists.samba.org> wrote:

> HI,
> 
> Anybody have idea of how to get from BIND9 samba zone database neat 
> BIND9 zone files automatically?
> 
> Like:
> 
> 389 Directory Server - Howto:BIND 
> <https://www.port389.org/docs/389ds/howto/howto-bind.html>
> 

On the page you linked to, the first line under 'Introduction' says
this:

The instructions below are outdated.

They are also for 389DS and that is very different from AD.

AD is basically ldap, kerberos and dns combined and so it is best
practice to use what Samba suggests.

There are those that suggest using a separate DNS server instead of the
builtin dns server or BIND_DLZ, but, while this can work, it is just
more work as you have to maintain it.

A lot of people use Bind9 when really using the builtin dns server
would suffice, do you really need the extra complexity of Bind9 ?

Rowland 



More information about the samba mailing list