]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
move forwarder server to 10.53.0.5
authorMark Andrews <marka@isc.org>
Fri, 15 Nov 2013 02:16:51 +0000 (13:16 +1100)
committerMark Andrews <marka@isc.org>
Fri, 15 Nov 2013 02:16:51 +0000 (13:16 +1100)
bin/tests/system/views/ns2/named2.conf
bin/tests/system/views/ns5/child.clone.db [moved from bin/tests/system/views/ns4/child.clone.db with 98% similarity]
bin/tests/system/views/ns5/named.conf [moved from bin/tests/system/views/ns4/named.conf with 87% similarity]
bin/tests/system/views/tests.sh

index 3c8e033ca79e75346be91f8d1c6d1290a49c33b0..7dd5f0b6fc02c1a78a55ad76d57b79f47f4d1ff4 100644 (file)
@@ -71,6 +71,6 @@ view "external" {
        zone "clone" {
                in-view internal;
                forward only;
-               forwarders { 10.53.0.4; };
+               forwarders { 10.53.0.5; };
        };
 };
similarity index 98%
rename from bin/tests/system/views/ns4/child.clone.db
rename to bin/tests/system/views/ns5/child.clone.db
index a5c6e64a176dfebb354ac76768836dce4125b1b1..61201c2463257ef8ed6e99db63b06c88ef822185 100644 (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
similarity index 87%
rename from bin/tests/system/views/ns4/named.conf
rename to bin/tests/system/views/ns5/named.conf
index f191ca22370f88f2f9c35718786bb3c68d9f04eb..6fadbb467103b4be7054480f153bbc74fd25e46a 100644 (file)
 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 "." {
index 3912defcba02072ab37e0da48bb367fd724e24df..30116bf14cea8aaf20a42abb650d60b860c96788 100644 (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