19 lines
334 B
Bash
19 lines
334 B
Bash
#!/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 |