[Samba] Samba 4 with Active DHCP configuration

Steve Ankeny steve_a at cinergymetro.net
Sun May 24 18:57:31 MDT 2015

Samba concerned about DNS not DHCP

Your network can use DHCP but it's best to set the Samba DC to static.


    Configure /etc/resolv.conf

Your Domain Controller requires a name server that knows your AD zone to 
resolve Active Directory DNS queries correctly. To accomplish this, you 
can add just your AD DCs IP and domain name to your „/etc/resolv.conf“:

domain samdom.example.com

/*Note:* If your server is set up to receive its IP configuration via 
DHCP, the „/etc/resolv.conf“ file might be automatically updated. Refer 
to your distributions documentation on how to stop/change this behavior, 
although DHCP is not recommended on a DC!/

On 05/24/2015 03:23 PM, Foxnet Support wrote:
> good evening
> Samba 4 with Active DHCP configuration, it is possible, if so how !!!
> In any case thank you for your help
> Michel

More information about the samba mailing list