move forwarder server to 10.53.0.5

This commit is contained in:
Mark Andrews 2013-11-15 13:16:51 +11:00
parent 52cc3bd9c1
commit 3ac9ef6a6d
4 changed files with 8 additions and 8 deletions

View file

@ -71,6 +71,6 @@ view "external" {
zone "clone" {
in-view internal;
forward only;
forwarders { 10.53.0.4; };
forwarders { 10.53.0.5; };
};
};

View file

@ -22,5 +22,5 @@ $TTL 300 ; 5 minutes
3600 ; minimum (1 hour)
)
@ NS ns3
@ TXT This is NS4.
@ TXT This is NS5.
ns3 A 10.53.0.3

View file

@ -19,13 +19,13 @@
controls { /* empty */ };
options {
query-source address 10.53.0.4;
notify-source 10.53.0.4;
transfer-source 10.53.0.4;
query-source address 10.53.0.5;
notify-source 10.53.0.5;
transfer-source 10.53.0.5;
port 5300;
directory ".";
pid-file "named.pid";
listen-on { 10.53.0.4; };
listen-on { 10.53.0.5; };
listen-on-v6 { none; };
recursion yes;
notify yes;
@ -37,7 +37,7 @@ key rndc_key {
};
controls {
inet 10.53.0.3 port 9953 allow { any; } keys { rndc_key; };
inet 10.53.0.5 port 9953 allow { any; } keys { rndc_key; };
};
zone "." {

View file

@ -105,7 +105,7 @@ ret=0
one=`$DIG +tcp +short -p 5300 -b 10.53.0.2 @10.53.0.2 child.clone txt`
two=`$DIG +tcp +short -p 5300 -b 10.53.0.4 @10.53.0.2 child.clone txt`
three=`$DIG +tcp +short -p 5300 @10.53.0.3 child.clone txt`
four=`$DIG +tcp +short -p 5300 @10.53.0.4 child.clone txt`
four=`$DIG +tcp +short -p 5300 @10.53.0.5 child.clone txt`
if [ "$one" = "$two" ]; then
echo "'$one' matches '$two'"
ret=1