Skip to content

Commit

Permalink
wintest: set recursive queries for internal dns
Browse files Browse the repository at this point in the history
Need dns recursive queries = yes, since
host expects answers with RA-bit.

Signed-off-by: Kai Blin <[email protected]>
  • Loading branch information
Björn Baumbach authored and kblin committed Jun 21, 2012
1 parent b45d4be commit ed3ded1
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wintest/test-s4-howto.py
Original file line number Diff line number Diff line change
@@ -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)
3 changes: 3 additions & 0 deletions wintest/wintest.py
Original file line number Diff line number Diff line change
@@ -950,5 +950,8 @@ def setup(self, testname, subdir):

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', '')

0 comments on commit ed3ded1

Please sign in to comment.