mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 18:49:59 -04:00
move forwarder server to 10.53.0.5
This commit is contained in:
parent
52cc3bd9c1
commit
3ac9ef6a6d
4 changed files with 8 additions and 8 deletions
|
|
@ -71,6 +71,6 @@ view "external" {
|
|||
zone "clone" {
|
||||
in-view internal;
|
||||
forward only;
|
||||
forwarders { 10.53.0.4; };
|
||||
forwarders { 10.53.0.5; };
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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 "." {
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue