task 6 revision
do not add dns slave into nameserver until it is ready something to do with /var/bind
This commit is contained in:
parent
0a24013b5f
commit
4ec1ed1b4e
@ -4,7 +4,7 @@ cat > /etc/bind/named.conf.local <<EOL
|
||||
zone "f01.com" {
|
||||
type slave;
|
||||
masters { 10.67.3.3; };
|
||||
file "/etc/bind/Jarkom/f01.com";
|
||||
file "/var/lib/bind/f01.com";
|
||||
};
|
||||
EOL
|
||||
|
||||
|
||||
3
TaugeClient/06.sh
Normal file
3
TaugeClient/06.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "nameserver 10.67.3.2" >> /etc/resolv.conf
|
||||
@ -5,4 +5,3 @@ apt-get update
|
||||
apt-get install dnsutils -y
|
||||
|
||||
echo "nameserver 10.67.3.3" > /etc/resolv.conf
|
||||
echo "nameserver 10.67.3.2" >> /etc/resolv.conf
|
||||
3
TomatClient/06.sh
Normal file
3
TomatClient/06.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "nameserver 10.67.3.2" >> /etc/resolv.conf
|
||||
@ -5,4 +5,3 @@ apt-get update
|
||||
apt-get install dnsutils -y
|
||||
|
||||
echo "nameserver 10.67.3.3" > /etc/resolv.conf
|
||||
echo "nameserver 10.67.3.2" >> /etc/resolv.conf
|
||||
Loading…
Reference in New Issue
Block a user