I build a samba 4.0.11 on a Debian Wheezy from source, joined a existing AD (samba works with internal dns) and have this smb.conf: ======= # Global parameters [global] workgroup = DOMAIN realm = DOMAIN.local netbios name = SAMBA1 server role = active directory domain controller allow dns updates = nonsecure dns recursive queries = yes server services = +dns, +dnsupdate log file = /var/log/samba/samba.log max log size = 10000 log level = 8 debug timestamp = yes [netlogon] path = /usr/local/samba/var/locks/sysvol/domain.local/scripts read only = No [sysvol] path = /usr/local/samba/var/locks/sysvol read only = No ======= When I do a testparm (samba-tool testparm) I get this error: Unknown parameter encountered: "dns recursive queries" Ignoring unknown parameter "dns recursive queries" So no recursive DNS is working.
dns recursive queries is not a valid parameter in the 4.0 series. The parameter you need to set to get recursive queries in 4.0 and 4.1 is dns forwarder = <ip address of forwarder> Arguably we should reenable recursive queries even without a forwarder at some point, but the above setting should fix your issue.
Thanks Kai, with this setting it is working.
Bumping this down to "enhancement", as the actual bug it was about is fixed. Use this to track the "recursive queries without forwarder" feature request.