Fix problem in notify test
This commit is contained in:
@@ -2,8 +2,8 @@ $ORIGIN .
|
||||
$TTL 300 ; 5 minutes
|
||||
example IN SOA mname1. . (
|
||||
1 ; serial
|
||||
20 ; refresh (20 seconds)
|
||||
20 ; retry (20 seconds)
|
||||
300 ; refresh (300 seconds)
|
||||
300 ; retry (300 seconds)
|
||||
1814400 ; expire (3 weeks)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
|
||||
@@ -2,8 +2,8 @@ $ORIGIN .
|
||||
$TTL 300 ; 5 minutes
|
||||
example IN SOA mname1. . (
|
||||
2 ; serial
|
||||
20 ; refresh (20 seconds)
|
||||
20 ; retry (20 seconds)
|
||||
300 ; refresh (300 seconds)
|
||||
300 ; retry (300 seconds)
|
||||
1814400 ; expire (3 weeks)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
|
||||
@@ -2,8 +2,8 @@ $ORIGIN .
|
||||
$TTL 300 ; 5 minutes
|
||||
example IN SOA mname1. . (
|
||||
3 ; serial
|
||||
20 ; refresh (20 seconds)
|
||||
20 ; retry (20 seconds)
|
||||
300 ; refresh (300 seconds)
|
||||
300 ; retry (300 seconds)
|
||||
1814400 ; expire (3 weeks)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
|
||||
@@ -2,8 +2,8 @@ $ORIGIN .
|
||||
$TTL 300 ; 5 minutes
|
||||
example IN SOA mname1. . (
|
||||
4 ; serial
|
||||
20 ; refresh (20 seconds)
|
||||
20 ; retry (20 seconds)
|
||||
300 ; refresh (300 seconds)
|
||||
300 ; retry (300 seconds)
|
||||
1814400 ; expire (3 weeks)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
|
||||
@@ -3,6 +3,7 @@ options {
|
||||
listen-on { 10.53.0.2; };
|
||||
recursion no;
|
||||
notify yes;
|
||||
query-source address 10.53.0.2;
|
||||
};
|
||||
|
||||
zone "." {
|
||||
|
||||
@@ -4,6 +4,7 @@ options {
|
||||
listen-on { 10.53.0.3; };
|
||||
recursion yes;
|
||||
notify yes;
|
||||
query-source address 10.53.0.3;
|
||||
};
|
||||
|
||||
zone "." {
|
||||
|
||||
@@ -53,7 +53,7 @@ rm -f ns2/example.db
|
||||
cp ns2/example2.db ns2/example.db
|
||||
sleep 6
|
||||
kill -HUP `cat ns2/named.pid`
|
||||
sleep 30
|
||||
sleep 6
|
||||
|
||||
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd a.example.\
|
||||
@10.53.0.2 a > dig.out.ns2
|
||||
@@ -74,7 +74,7 @@ cp ns2/example3.db ns2/example.db
|
||||
sleep 6
|
||||
kill -HUP `cat ns2/named.pid`
|
||||
(cd ns3 ; $NAMED -c named.conf -d 99 -g >> named.run 2>&1 & )
|
||||
sleep 30
|
||||
sleep 6
|
||||
|
||||
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd a.example.\
|
||||
@10.53.0.2 a > dig.out.ns2
|
||||
@@ -94,7 +94,7 @@ kill `cat ns2/named.pid`
|
||||
cp ns2/example4.db ns2/example.db
|
||||
sleep 6
|
||||
(cd ns2 ; $NAMED -c named.conf -d 99 -g >> named.run 2>&1 & )
|
||||
sleep 30
|
||||
sleep 6
|
||||
|
||||
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd a.example.\
|
||||
@10.53.0.2 a > dig.out.ns2
|
||||
|
||||
Reference in New Issue
Block a user