Commit df22852d authored by Michael Sawyer's avatar Michael Sawyer
Browse files

Fix problem in notify test

parent ef9f3246
...@@ -2,8 +2,8 @@ $ORIGIN . ...@@ -2,8 +2,8 @@ $ORIGIN .
$TTL 300 ; 5 minutes $TTL 300 ; 5 minutes
example IN SOA mname1. . ( example IN SOA mname1. . (
1 ; serial 1 ; serial
20 ; refresh (20 seconds) 300 ; refresh (300 seconds)
20 ; retry (20 seconds) 300 ; retry (300 seconds)
1814400 ; expire (3 weeks) 1814400 ; expire (3 weeks)
3600 ; minimum (1 hour) 3600 ; minimum (1 hour)
) )
......
...@@ -2,8 +2,8 @@ $ORIGIN . ...@@ -2,8 +2,8 @@ $ORIGIN .
$TTL 300 ; 5 minutes $TTL 300 ; 5 minutes
example IN SOA mname1. . ( example IN SOA mname1. . (
2 ; serial 2 ; serial
20 ; refresh (20 seconds) 300 ; refresh (300 seconds)
20 ; retry (20 seconds) 300 ; retry (300 seconds)
1814400 ; expire (3 weeks) 1814400 ; expire (3 weeks)
3600 ; minimum (1 hour) 3600 ; minimum (1 hour)
) )
......
...@@ -2,8 +2,8 @@ $ORIGIN . ...@@ -2,8 +2,8 @@ $ORIGIN .
$TTL 300 ; 5 minutes $TTL 300 ; 5 minutes
example IN SOA mname1. . ( example IN SOA mname1. . (
3 ; serial 3 ; serial
20 ; refresh (20 seconds) 300 ; refresh (300 seconds)
20 ; retry (20 seconds) 300 ; retry (300 seconds)
1814400 ; expire (3 weeks) 1814400 ; expire (3 weeks)
3600 ; minimum (1 hour) 3600 ; minimum (1 hour)
) )
......
...@@ -2,8 +2,8 @@ $ORIGIN . ...@@ -2,8 +2,8 @@ $ORIGIN .
$TTL 300 ; 5 minutes $TTL 300 ; 5 minutes
example IN SOA mname1. . ( example IN SOA mname1. . (
4 ; serial 4 ; serial
20 ; refresh (20 seconds) 300 ; refresh (300 seconds)
20 ; retry (20 seconds) 300 ; retry (300 seconds)
1814400 ; expire (3 weeks) 1814400 ; expire (3 weeks)
3600 ; minimum (1 hour) 3600 ; minimum (1 hour)
) )
......
...@@ -3,6 +3,7 @@ options { ...@@ -3,6 +3,7 @@ options {
listen-on { 10.53.0.2; }; listen-on { 10.53.0.2; };
recursion no; recursion no;
notify yes; notify yes;
query-source address 10.53.0.2;
}; };
zone "." { zone "." {
......
...@@ -4,6 +4,7 @@ options { ...@@ -4,6 +4,7 @@ options {
listen-on { 10.53.0.3; }; listen-on { 10.53.0.3; };
recursion yes; recursion yes;
notify yes; notify yes;
query-source address 10.53.0.3;
}; };
zone "." { zone "." {
......
...@@ -53,7 +53,7 @@ rm -f ns2/example.db ...@@ -53,7 +53,7 @@ rm -f ns2/example.db
cp ns2/example2.db ns2/example.db cp ns2/example2.db ns2/example.db
sleep 6 sleep 6
kill -HUP `cat ns2/named.pid` kill -HUP `cat ns2/named.pid`
sleep 30 sleep 6
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd a.example.\ ../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd a.example.\
@10.53.0.2 a > dig.out.ns2 @10.53.0.2 a > dig.out.ns2
...@@ -74,7 +74,7 @@ cp ns2/example3.db ns2/example.db ...@@ -74,7 +74,7 @@ cp ns2/example3.db ns2/example.db
sleep 6 sleep 6
kill -HUP `cat ns2/named.pid` kill -HUP `cat ns2/named.pid`
(cd ns3 ; $NAMED -c named.conf -d 99 -g >> named.run 2>&1 & ) (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.\ ../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd a.example.\
@10.53.0.2 a > dig.out.ns2 @10.53.0.2 a > dig.out.ns2
...@@ -94,7 +94,7 @@ kill `cat ns2/named.pid` ...@@ -94,7 +94,7 @@ kill `cat ns2/named.pid`
cp ns2/example4.db ns2/example.db cp ns2/example4.db ns2/example.db
sleep 6 sleep 6
(cd ns2 ; $NAMED -c named.conf -d 99 -g >> named.run 2>&1 & ) (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.\ ../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd a.example.\
@10.53.0.2 a > dig.out.ns2 @10.53.0.2 a > dig.out.ns2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment