Commit 9b789c54 authored by Evan Hunt's avatar Evan Hunt

[master] add regression test for RT #41518

4297.	[test]		Ensure delegations in RPZ zones fail robustly.
			[RT #41518]
parent d40154ca
4297. [test] Ensure delegations in RPZ zones fail robustly.
[RT #41518]
4296. [bug] TCP packet sizes were calculated incorrectly in the
stats channel; they could be counted in the wrong
histogram bucket. [RT #40587]
......
......@@ -12,10 +12,6 @@
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
; PERFORMANCE OF THIS SOFTWARE.
; $Id$
; RPZ test
; This basic file is copied to several zone files before being used.
; Its contents are also changed with nsupdate
......@@ -25,3 +21,5 @@ $TTL 300
@ SOA blx. hostmaster.ns.blx. ( 1 3600 1200 604800 60 )
NS ns.tld3.
; regression testing for some old crashes
example.com NS example.org.
......@@ -642,5 +642,9 @@ $RNDCCMD $ns7 reload policy2
$DIG z.x.servfail -p 5300 @$ns7 > dig.out.ns7
grep NXDOMAIN dig.out.ns7 > /dev/null || setret I:failed;
echo "I:checking rpz with delegation fails correctly"
$DIG -p 5300 @$ns3 ns example.com > dig.out.delegation
grep "status: SERVFAIL" dig.out.delegation > /dev/null || setret "I:failed"
echo "I:exit status: $status"
exit $status
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment