From ed3ded11220d16c5ebfefd7e165eeb32e185f452 Mon Sep 17 00:00:00 2001 From: Björn Baumbach Date: Tue, 5 Jun 2012 10:35:19 +0200 Subject: wintest: set recursive queries for internal dns Need dns recursive queries = yes, since host expects answers with RA-bit. Signed-off-by: Kai Blin --- wintest/test-s4-howto.py | 3 ++- wintest/wintest.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'wintest') diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py index 646fa5b5c9..2f89447f22 100755 --- a/wintest/test-s4-howto.py +++ b/wintest/test-s4-howto.py @@ -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) diff --git a/wintest/wintest.py b/wintest/wintest.py index 97ff2be9ea..94d54de150 100644 --- a/wintest/wintest.py +++ b/wintest/wintest.py @@ -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', '') -- cgit