mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 09:42:06 -04:00
Check that notify message was sent over IPv6
This commit is contained in:
parent
40fd4cd407
commit
7c369ea3d9
4 changed files with 4 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ example. NS ns2.example.
|
|||
ns2.example. A 10.53.0.2
|
||||
example. NS ns3.example.
|
||||
ns3.example. A 10.53.0.3
|
||||
ns3.example. AAAA fd92:7065:b8e:ffff::3
|
||||
|
||||
$ORIGIN example.
|
||||
a A 10.0.0.2
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
options {
|
||||
query-source address 10.53.0.2;
|
||||
notify-source 10.53.0.2;
|
||||
notify-source-v6 fd92:7065:b8e:ffff::2;
|
||||
transfer-source 10.53.0.2;
|
||||
port @PORT@;
|
||||
pid-file "named.pid";
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ options {
|
|||
port @PORT@;
|
||||
pid-file "named.pid";
|
||||
listen-on { 10.53.0.3; };
|
||||
listen-on-v6 { none; };
|
||||
listen-on-v6 { fd92:7065:b8e:ffff::3; };
|
||||
recursion yes;
|
||||
notify yes;
|
||||
dnssec-validation no;
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ wait_for_log_re 45 "transfer of 'example/IN' from 10.53.0.2#.*success" ns3/named
|
|||
|
||||
test_start "checking notify message was logged"
|
||||
grep 'notify from 10.53.0.2#[0-9][0-9]*: serial 2$' ns3/named.run >/dev/null || ret=1
|
||||
grep 'refused notify from non-primary: fd92:7065:b8e:ffff::2#[0-9][0-9]*$' ns3/named.run >/dev/null || ret=1
|
||||
test_end
|
||||
|
||||
test_start "checking example2 loaded"
|
||||
|
|
|
|||
Loading…
Reference in a new issue