From d57351465531b38689892ec862de2725b52842dd Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Wed, 13 Jul 2022 06:02:01 -0700 Subject: unbound: Vendor import 1.16.1 --- testdata/auth_https.tdir/auth_https.test | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'testdata/auth_https.tdir') diff --git a/testdata/auth_https.tdir/auth_https.test b/testdata/auth_https.tdir/auth_https.test index cff93544b14a..c2471b7d6439 100644 --- a/testdata/auth_https.tdir/auth_https.test +++ b/testdata/auth_https.tdir/auth_https.test @@ -5,6 +5,7 @@ [ -f .tpkg.var.test ] && source .tpkg.var.test PRE="../.." +. ../common.sh # do the test echo "> dig www.example.com." dig @localhost -p $UNBOUND_PORT www.example.com. | tee outfile @@ -48,4 +49,15 @@ else exit 1 fi +# Test that notify is allowed from the webserver address +get_ldns_notify +echo "> ldns-notify -z example.com" +$LDNS_NOTIFY -p $UNBOUND_PORT -z example.com 127.0.0.1 | tee outfile +if grep "rcode: REFUSED" outfile; then + echo "Not OK" + exit 1 +else + echo "OK" +fi + exit 0 -- cgit v1.3