prak2-scripts/PokcoyDNSSlave/06.sh
Keanu Taufan 4ec1ed1b4e
task 6 revision
do not add dns slave into nameserver until it is ready

something to do with /var/bind
2024-10-03 00:02:38 +07:00

11 lines
167 B
Bash

#!/bin/bash
cat > /etc/bind/named.conf.local <<EOL
zone "f01.com" {
type slave;
masters { 10.67.3.3; };
file "/var/lib/bind/f01.com";
};
EOL
service bind9 restart