prak2-scripts/WortelDNSMaster/05.sh
2024-10-02 22:14:23 +07:00

21 lines
540 B
Bash

#!/bin/bash
cat > /etc/bind/Jarkom/f01.com <<EOL
\$TTL 604800
@ IN SOA ns1.f01.com. admin.f01.com. (
2024100101 ; Serial
7200 ; Refresh
1800 ; Retry
43200 ; Expire
1209600 ) ; Negative Cache TTL
@ IN NS ns1.f01.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