mirror of
https://git.envs.net/envs/DNS
synced 2024-11-13 12:33:14 +01:00
88 lines
2.0 KiB
Plaintext
88 lines
2.0 KiB
Plaintext
//
|
|
// Do any local configuration here
|
|
//
|
|
|
|
// Consider adding the 1918 zones here, if they are not used in your
|
|
// organization
|
|
//include "/etc/bind/zones.rfc1918";
|
|
|
|
// ACL
|
|
|
|
acl internals {
|
|
127.0.0.1; 192.168.1.0/24;
|
|
};
|
|
|
|
acl notifys {
|
|
51.79.32.63; 167.114.154.31; 37.187.251.136; 37.187.168.234;
|
|
};
|
|
|
|
acl transfers {
|
|
127.0.0.1; key tilde_msT; 51.79.32.63; 37.187.251.136; 37.187.168.234;
|
|
};
|
|
|
|
|
|
// KEY
|
|
include "/etc/bind/tilde_msT.key";
|
|
include "/etc/bind/letsencrypt_U.key";
|
|
|
|
|
|
// SERVER
|
|
server 51.79.32.63 { keys { tilde_msT; }; }; // ns1.tildeverse.net
|
|
//server 167.114.154.31 //"ownercheck"-record // ns2.tildeverse.net
|
|
|
|
//domaindiscount24
|
|
//server 37.187.251.136
|
|
//server 37.187.168.234
|
|
|
|
// TILDE INTRA-NET
|
|
//server 149.56.184.112 // ns1.tildenic.org
|
|
//server 213.239.234.117 // ns2.tildenic.org
|
|
|
|
|
|
// ZONES
|
|
|
|
zone "envs.net" {
|
|
type master;
|
|
file "/etc/bind/zones/db.envs.net";
|
|
//auto-dnssec maintain;
|
|
//inline-signing yes;
|
|
notify explicit;
|
|
also-notify { notifys; };
|
|
allow-transfer { transfers; };
|
|
update-policy { grant letsencrypt_U name _acme-challenge.envs.net. txt; };
|
|
};
|
|
|
|
zone "envs.sh" {
|
|
type master;
|
|
file "/etc/bind/zones/db.envs.sh";
|
|
//auto-dnssec maintain;
|
|
//inline-signing yes;
|
|
notify explicit;
|
|
also-notify { notifys; };
|
|
allow-transfer { transfers; };
|
|
update-policy { grant letsencrypt_U name _acme-challenge.envs.sh. txt; };
|
|
};
|
|
|
|
zone "envs.o" {
|
|
type master;
|
|
file "/etc/bind/zones/db.envs.o";
|
|
//auto-dnssec maintain;
|
|
//inline-signing yes;
|
|
notify explicit;
|
|
also-notify { notifys; };
|
|
allow-transfer { transfers; };
|
|
update-policy { grant letsencrypt_U name _acme-challenge.envs.o. txt; };
|
|
};
|
|
|
|
// TILDE INTRA-NET
|
|
zone "envs.tilde" {
|
|
type master;
|
|
file "/etc/bind/zones/db.envs.tilde";
|
|
//auto-dnssec maintain;
|
|
//inline-signing yes;
|
|
notify explicit;
|
|
also-notify { 51.79.32.63; 167.114.154.31; 149.56.184.112; 213.239.234.117; };
|
|
allow-transfer { 127.0.0.1; 167.114.154.31; key tilde_msT; 149.56.184.112; 213.239.234.117; };
|
|
update-policy { grant letsencrypt_U name _acme-challenge.envs.tilde. txt; };
|
|
};
|