[Samba] Switching to Bind from Samba Internal

Rowland Penny rowlandpenny at googlemail.com
Tue Dec 16 08:07:35 MST 2014

On 16/12/14 14:43, James wrote:
> Rowland,
>     Thanks for the reply. I believe you're right. It appears the zone 
> information is retrieved from '/usr/local/samba/private/named.conf'? 
> Correct? 

Well sort of, if you run the update command, I 'think' that the correct 
file will be created for you, I am uncertain about the file creation 
because I have never used the builtin dns server, I have always used Bind9.

This is my named.conf:

# This DNS configuration is for BIND 9.8.0 or later with dlz_dlopen support.
# This file should be included in your main BIND configuration file
# For example with
# include "/var/lib/samba/private/named.conf";

# This configures dynamically loadable zones (DLZ) from AD schema
# Uncomment only single database line, depending on your BIND version
dlz "AD DNS Zone" {
     # For BIND 9.8.0
     database "dlopen /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9.so";

     # For BIND 9.9.0
     # database "dlopen 

You will probably have to change the paths.


> I notice I do not have 'named.conf'. I have 'named.conf.update'.
> On 12/16/2014 9:21 AM, Rowland Penny wrote:
>> On 16/12/14 13:54, James wrote:
>>> Hello,
>>>     Looking to switch to Bind. Currently using Ubuntu 12.04 with 
>>> Samba 4.1.13 compiled from tar. I'm a little confused on creating 
>>> the localhost zone file section. Do I replace 'localhost' with the 
>>> IP address of my Samba DC or do I really use the localhost address? 
>>> This same question applies to the '0.0.127.in.addr.arpa' zone file. 
>>> I guess I'm having a hard time understanding where I enter my actual 
>>> zone name of my domain. If I need to clarify further please advise. 
>>> Thanks.
>> Hi, have a look here: 
>> https://wiki.samba.org/index.php/Changing_the_DNS_backend
>> I think that you are trying to set Bind up with a flatfile backend, 
>> please don't do this, it will only end in tears :-)
>> Rowland

More information about the samba mailing list