summaryrefslogtreecommitdiff
path: root/wintest
diff options
context:
space:
mode:
Diffstat (limited to 'wintest')
-rwxr-xr-xwintest/test-s4-howto.py3
-rw-r--r--wintest/wintest.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py
index 2f89447f22..fdbb18196c 100755
--- a/wintest/test-s4-howto.py
+++ b/wintest/test-s4-howto.py
@@ -39,7 +39,8 @@ def provision_s4(t, func_level="2008"):
'${USE_NTVFS}',
'--dns-backend=${NAMESERVER_BACKEND}',
'${ALLOW_DNS_UPDATES}',
- '${DNS_RECURSIVE_QUERIES}']
+ '${DNS_RECURSIVE_QUERIES}',
+ '${DNS_FORWARDER}']
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 38c4630eb9..6257fb45dd 100644
--- a/wintest/wintest.py
+++ b/wintest/wintest.py
@@ -955,6 +955,8 @@ RebootOnCompletion=No
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')
+ self.setvar('DNS_FORWARDER', "--option=dns forwarder = %s" % nameserver)
else:
self.setvar('ALLOW_DNS_UPDATES', '')
self.setvar('DNS_RECURSIVE_QUERIES', '')
+ self.setvar('DNS_FORWARDER', '')