mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Add non canonical form entry to trigger log message
(cherry picked from commit 76db9e276f)
This commit is contained in:
parent
6440743bdc
commit
6fcbf2bc54
2 changed files with 6 additions and 0 deletions
|
|
@ -51,7 +51,11 @@ update add 32.2.5.168.192.rpz-ip.bl 300 A 127.0.0.2
|
|||
; prefer first conflicting IP zone for a5-3.tld2
|
||||
; 12
|
||||
update add 32.3.5.168.192.rpz-ip.bl 300 A 127.0.0.1
|
||||
; non canonical form entry to trigger log message
|
||||
update add 128.2.0.0.0.0.3.2.2001.rpz-ip.bl 300 CNAME .
|
||||
send
|
||||
|
||||
;
|
||||
update add 32.3.5.168.192.rpz-ip.bl-2 300 A 127.0.0.2
|
||||
send
|
||||
|
||||
|
|
|
|||
|
|
@ -571,6 +571,8 @@ ckstats $ns5 test1 ns5 0
|
|||
ckstats $ns6 test1 ns6 0
|
||||
|
||||
start_group "IP rewrites" test2
|
||||
msg='rpz IP address "128.2.0.0.0.0.3.2.2001" is not the canonical "128.2.zz.3.2.2001"'
|
||||
grep "$msg" ns3/named.run >/dev/null || setret "expected 'is not the canonical' message not logged"
|
||||
nodata a3-1.tld2 # 1 NODATA
|
||||
nochange a3-2.tld2 # 2 no policy record so no change
|
||||
nochange a4-1.tld2 # 3 obsolete PASSTHRU record style
|
||||
|
|
|
|||
Loading…
Reference in a new issue