Bug 10273 - Enable recursive queries without querying the forwarder
Summary: Enable recursive queries without querying the forwarder
Status: ASSIGNED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: DNS server (internal) (show other bugs)
Version: unspecified
Hardware: x64 Linux
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Kai Blin
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on: 9409
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-17 11:10 UTC by IT2
Modified: 2015-12-06 22:33 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description IT2 2013-11-17 11:10:30 UTC
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.
Comment 1 Kai Blin 2013-11-17 14:17:44 UTC
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.
Comment 2 IT2 2013-11-18 08:41:59 UTC
Thanks Kai, with this setting it is working.
Comment 3 Kai Blin 2014-05-19 04:44:07 UTC
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.