diff options
author | Björn Baumbach <bb@sernet.de> | 2012-06-05 10:35:19 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2012-06-21 21:55:20 +0200 |
commit | ed3ded11220d16c5ebfefd7e165eeb32e185f452 (patch) | |
tree | f7fc740db5621d6307d58c69e1ecdac616f2f98a | |
parent | b45d4beca54428cb71994fed40d44c9ba06bb4d3 (diff) | |
download | samba-ed3ded11220d16c5ebfefd7e165eeb32e185f452.tar.gz samba-ed3ded11220d16c5ebfefd7e165eeb32e185f452.tar.bz2 samba-ed3ded11220d16c5ebfefd7e165eeb32e185f452.zip |
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>
-rwxr-xr-x | wintest/test-s4-howto.py | 3 | ||||
-rw-r--r-- | wintest/wintest.py | 3 |
2 files changed, 5 insertions, 1 deletions
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', '') |