Compare commits
No commits in common. "de481882022b94b1a8d88d7a27137feff5c099bc" and "911deb0e52c188f6044e827cefcdd09f8e8609a9" have entirely different histories.
de48188202
...
911deb0e52
@ -1,11 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
cat > /etc/bind/named.conf.local <<EOL
|
||||
zone "f01.com" {
|
||||
type slave;
|
||||
masters { 10.67.3.3; };
|
||||
file "/etc/bind/Jarkom/f01.com";
|
||||
};
|
||||
EOL
|
||||
|
||||
service bind9 restart
|
||||
@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "nameserver 192.168.122.1" > /etc/resolv.conf
|
||||
apt-get update
|
||||
apt-get install bind9 -y
|
||||
|
||||
echo "nameserver 10.67.3.3" > /etc/resolv.conf
|
||||
@ -4,5 +4,4 @@ echo "nameserver 192.168.122.1" > /etc/resolv.conf
|
||||
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
|
||||
echo "nameserver 10.67.3.3" > /etc/resolv.conf
|
||||
@ -4,5 +4,4 @@ echo "nameserver 192.168.122.1" > /etc/resolv.conf
|
||||
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
|
||||
echo "nameserver 10.67.3.3" > /etc/resolv.conf
|
||||
@ -1,21 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
cat > /etc/bind/Jarkom/f01.com <<EOL
|
||||
\$TTL 604800
|
||||
@ IN SOA ns1.f03.com. admin.f03.com. (
|
||||
2024100101 ; Serial
|
||||
7200 ; Refresh
|
||||
1800 ; Retry
|
||||
43200 ; Expire
|
||||
1209600 ) ; Negative Cache TTL
|
||||
|
||||
@ IN NS ns1.f03.com.
|
||||
|
||||
ns1 IN A 10.67.3.3 ; IP address of DNS Master
|
||||
|
||||
brokoli IN A 10.67.4.2 ; IP address of Brokoli
|
||||
buncis IN A 10.67.4.3 ; IP address of Buncis
|
||||
bayam IN A 10.67.4.4 ; IP address of Bayam
|
||||
EOL
|
||||
|
||||
service bind9 restart
|
||||
@ -1,19 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
cat > /etc/bind/named.conf.local <<EOL
|
||||
zone "f01.com" {
|
||||
type master;
|
||||
notify yes;
|
||||
also-notify { 10.67.3.2; };
|
||||
allow-transfer { 10.67.3.2; };
|
||||
file "/etc/bind/Jarkom/f01.com";
|
||||
};
|
||||
|
||||
zone "4.67.10.in-addr.arpa" {
|
||||
type master;
|
||||
file "/etc/bind/Jarkom/4.67.10.in-addr.arpa";
|
||||
};
|
||||
EOL
|
||||
|
||||
service bind9 restart
|
||||
service bind9 stop
|
||||
Loading…
Reference in New Issue
Block a user