20 lines
403 B
Bash
20 lines
403 B
Bash
#!/bin/bash
|
|
|
|
cat >> /etc/bind/Jarkom/f01.com <<EOL
|
|
|
|
; Delegation for k1.vitamin.brokoli.f01.com
|
|
ns3 IN A 10.67.3.2 ; IP delegation
|
|
k1.vitamin.brokoli IN NS ns3
|
|
EOL
|
|
|
|
cat > /etc/bind/named.conf.options <<EOL
|
|
options {
|
|
// dnssec-validation auto;
|
|
|
|
auth-nxdomain no; # conform to RFC1035
|
|
listen-on-v6 { any; };
|
|
allow-query { any; };
|
|
};
|
|
EOL
|
|
|
|
service bind9 restart |