mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 22:40:04 -04:00
[v9_10] add regression test for RT #41518
4297. [test] Ensure delegations in RPZ zones fail robustly. [RT #41518]
This commit is contained in:
parent
847eacdf56
commit
763c67c878
3 changed files with 9 additions and 4 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
4297. [test] Ensure delegations in RPZ zones fail robustly.
|
||||
[RT #41518]
|
||||
|
||||
4295. [bug] An unchecked result in dns_message_pseudosectiontotext()
|
||||
could allow incorrect text formatting of EDNS EXPIRE
|
||||
options. [RT #41437]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue