[Samba] Samba4 AD DC Implementation Report - YAY! And Thanks for the tools!

Rowland Penny rowlandpenny at googlemail.com
Mon Mar 16 12:18:19 MDT 2015


On 16/03/15 17:53, Deven Phillips wrote:
> Following the instructions here: 
> https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
>
> In that page there is a link to using Bind as your DNS server, which 
> links to: https://wiki.samba.org/index.php/DNS_Backend_BIND
>
> On that page, it instructs you to populate the DNS server with the 
> command:
> /usr/local/samba/sbin/samba_dnsupdate --verbose --all-names
>

Do mean under the heading 'Testing/Debugging dynamic DNS update' ??

That command doesn't populate anything!

>
> Without the "interfaces" and the "bind interfaces only" it will grab 
> the IP addresses of all configured interfaces and register them into 
> DNS. This, for my server, querying it for A records returned:
>
> 127.0.0.1 (loopback)
> 192.168.1.210 (br0 - LAN address)
> 192.168.122.1 (virtual network for KVM)
> 172.16.0.1 (Virtual network for Docker)

What network are your AD clients on '192.168.0.x', 192.168.122.x' or 
'172.16.0.1' ?
>
> On the br0 interface is of any use to other hosts, so it caused me 
> some problems and I had to use samba-tool to remove the extra A records.
>

I take it from the above, that your clients are on the '192.168.0.0/24' 
network. Adding the lines you referred to, just makes samba connecting 
only to the interfaces that you have specified, also the records were 
added at provision not by the samba_dnsupdate command.

Rowland



More information about the samba mailing list