mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 01:50:45 -04:00
Fix chain system test for parent-centric resolver
The resolver now uses glue addresses from the parent side of a zonecut without triggering an additional address lookup. Update the test involving a nameserver target name below a DNAME so that the delegation does not use glue.
This commit is contained in:
parent
f2f9a97526
commit
d1ea49cef9
2 changed files with 3 additions and 1 deletions
|
|
@ -34,6 +34,8 @@ ns3.example.dname. A 10.53.0.3
|
|||
jeff.dname. NS ns.jeff.dname.
|
||||
ns.jeff.dname. A 10.53.0.3
|
||||
|
||||
mutt.dname. NS ns.jeff.dname.
|
||||
|
||||
domain0.nil. NS ns2.domain0.nil
|
||||
domain1.nil. NS ns2.domain0.nil
|
||||
domain2.nil. NS ns2.domain0.nil
|
||||
|
|
|
|||
|
|
@ -647,7 +647,7 @@ echo_i "checking handling of illegal NS below DNAME ($n)"
|
|||
ret=0
|
||||
$DIG $DIGOPTS @10.53.0.7 DNAME jeff.dname. >dig.out.ns7.1.$n 2>&1
|
||||
grep 'status: NOERROR' dig.out.ns7.1.$n >/dev/null 2>&1 || ret=1
|
||||
$DIG $DIGOPTS @10.53.0.7 NS jeff.dname. >dig.out.ns7.2.$n 2>&1
|
||||
$DIG $DIGOPTS @10.53.0.7 NS mutt.dname. >dig.out.ns7.2.$n 2>&1
|
||||
grep 'status: SERVFAIL' dig.out.ns7.2.$n >/dev/null 2>&1 || ret=1
|
||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
status=$((status + ret))
|
||||
|
|
|
|||
Loading…
Reference in a new issue