task 5
This commit is contained in:
parent
911deb0e52
commit
301e6c873b
21
WortelDNSMaster/05.sh
Normal file
21
WortelDNSMaster/05.sh
Normal file
@ -0,0 +1,21 @@
|
||||
#!/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
|
||||
Loading…
Reference in New Issue
Block a user