From: Kees Monshouwer Date: Fri, 6 Sep 2013 16:01:21 +0000 (+0200) Subject: add TSIG to nsd test X-Git-Tag: rec-3.6.0-rc1~453^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67b7a3509d4e967683406e9e07e1b01d02add5e2;p=pdns add TSIG to nsd test --- diff --git a/regression-tests/start-test-stop b/regression-tests/start-test-stop index 740dcde51..011d5082a 100755 --- a/regression-tests/start-test-stop +++ b/regression-tests/start-test-stop @@ -23,6 +23,11 @@ server: database: ./nsd.db zonesdir: . username: "" + +key: + name: test + algorithm: hmac-md5 + secret: "kp4/24gyYsEzbuTVJRUMoqGFmN3LYgVDzJ/3oRSP7ys=" __EOF__ rm -f K* @@ -77,8 +82,14 @@ __EOF__ echo "zone:" >> nsd.conf echo " name: \"${zone}\"" >> nsd.conf echo " zonefile: \"${zone}.signed\"" >> nsd.conf - echo " provide-xfr: 0.0.0.0/0 NOKEY" >> nsd.conf - echo " provide-xfr: ::0/0 NOKEY" >> nsd.conf + if [ "${zone}" == "tsig.com" ] + then + echo " provide-xfr: 0.0.0.0/0 test" >> nsd.conf + echo " provide-xfr: ::0/0 test" >> nsd.conf + else + echo " provide-xfr: 0.0.0.0/0 NOKEY" >> nsd.conf + echo " provide-xfr: ::0/0 NOKEY" >> nsd.conf + fi done nsdc -c nsd.conf rebuild } diff --git a/regression-tests/tsig-axfr/skip.nsd b/regression-tests/tsig-axfr/skip.nsd deleted file mode 100644 index e69de29bb..000000000