try out dns.he.net secondary zones

This commit is contained in:
Ben Harris 2020-09-27 14:26:56 -04:00
parent d2e22c763e
commit 145114cf90
3 changed files with 16 additions and 4 deletions

View File

@ -2,13 +2,15 @@
include "/etc/bind/pi.key";
acl ns2 { 167.114.154.31; };
acl he { 216.218.133.2; 2001:470:600::2; };
masters ns2 { 167.114.154.31; };
masters he { 216.218.130.2; 2001:470:100::2; };
zone "benharri.com" {
type master;
file "/etc/bind/zones/mydomains/db.benharri.com";
allow-transfer { ns2; };
also-notify { ns2; };
allow-transfer { ns2; he; };
also-notify { ns2; he; };
update-policy {
grant certbot name _acme-challenge.benharri.com. txt;
};
@ -17,8 +19,8 @@ zone "benharri.com" {
zone "benharri.org" {
type master;
file "/etc/bind/zones/mydomains/db.benharri.org";
allow-transfer { ns2; };
also-notify { ns2; };
allow-transfer { ns2; he; };
also-notify { ns2; he; };
update-policy {
grant certbot name _acme-challenge.benharri.org. txt;
};

View File

@ -13,6 +13,11 @@ benharri.com. 3600 IN SOA ns1.bhh.sh. root.benharri.com. (
;; NS records
IN NS ns1.bhh.sh.
IN NS ns2.bhh.sh.
IN NS ns1.he.net.
IN NS ns2.he.net.
IN NS ns3.he.net.
IN NS ns4.he.net.
IN NS ns5.he.net.
;; A Records
* IN A 209.182.234.192

View File

@ -13,6 +13,11 @@ benharri.org. 3600 IN SOA ns1.bhh.sh. root.benharri.org. (
;; NS records
IN NS ns1.bhh.sh.
IN NS ns2.bhh.sh.
IN NS ns1.he.net.
IN NS ns2.he.net.
IN NS ns3.he.net.
IN NS ns4.he.net.
IN NS ns5.he.net.
;; A Records
* IN A 209.182.234.192