1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-23 06:50:21 +03:00

wintest: set recursive queries for internal dns

Need dns recursive queries = yes, since
host expects answers with RA-bit.

Signed-off-by: Kai Blin <kai@samba.org>
This commit is contained in:
Björn Baumbach 2012-06-05 10:35:19 +02:00 committed by Kai Blin
parent b45d4beca5
commit ed3ded1122
2 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,8 @@ def provision_s4(t, func_level="2008"):
'--option=rndc command=${RNDC} -c${PREFIX}/etc/rndc.conf',
'${USE_NTVFS}',
'--dns-backend=${NAMESERVER_BACKEND}',
'${ALLOW_DNS_UPDATES}']
'${ALLOW_DNS_UPDATES}',
'${DNS_RECURSIVE_QUERIES}']
if t.getvar('INTERFACE_IPV6'):
provision.append('--host-ip6=${INTERFACE_IPV6}')
t.run_cmd(provision)

View File

@ -950,5 +950,8 @@ RebootOnCompletion=No
if self.opts.dns_backend == 'SAMBA_INTERNAL':
self.setvar('ALLOW_DNS_UPDATES', '--option=allow dns updates = True')
# we need recursive queries, since host expects answers with RA-bit
self.setvar('DNS_RECURSIVE_QUERIES', '--option=dns recursive queries = Yes')
else:
self.setvar('ALLOW_DNS_UPDATES', '')
self.setvar('DNS_RECURSIVE_QUERIES', '')