From 55bf1efae706dfa7b8460d4246c74f13e3a57633 Mon Sep 17 00:00:00 2001 From: creme Date: Sun, 29 Dec 2019 21:24:40 +0100 Subject: [PATCH] update dns --- named.conf.local | 10 +++++----- slave_tilde | 6 ------ zones/db.envs.net | 7 ++++--- zones/db.envs.sh | 5 +++-- zones/db.envs.tilde | 5 +++-- 5 files changed, 15 insertions(+), 18 deletions(-) diff --git a/named.conf.local b/named.conf.local index 415658b..5abf644 100644 --- a/named.conf.local +++ b/named.conf.local @@ -22,7 +22,7 @@ include "/etc/bind/letsencrypt_U.key"; // SERVER //server 89.163.145.170 { keys { envs_msT; }; }; // ns1.envs.net server 78.31.64.115 { keys { envs_msT; }; }; // ns2.envs.net -server 198.50.128.75 { keys { tilde_msT; }; }; // ns1.tildeverse.net +server 198.50.128.75 { keys { tilde_msT; }; }; // ns1.tildeverse.net // TILDE INTRA-NET //server 149.56.184.112 // ns1.tildenic.org @@ -37,7 +37,7 @@ zone "envs.net" { //auto-dnssec maintain; //inline-signing yes; notify explicit; - also-notify { 198.50.128.75; 78.31.64.115; }; + also-notify { 78.31.64.115; 198.50.128.75; }; allow-transfer { 127.0.0.1; key envs_msT; key tilde_msT; }; update-policy { grant letsencrypt_U name _acme-challenge.envs.net. txt; }; }; @@ -48,7 +48,7 @@ zone "envs.sh" { //auto-dnssec maintain; //inline-signing yes; notify explicit; - also-notify { 198.50.128.75; 78.31.64.115; }; + also-notify { 78.31.64.115; 198.50.128.75; }; allow-transfer { 127.0.0.1; key envs_msT; key tilde_msT; }; update-policy { grant letsencrypt_U name _acme-challenge.envs.sh. txt; }; }; @@ -59,7 +59,7 @@ zone "envs.o" { //auto-dnssec maintain; //inline-signing yes; notify explicit; - also-notify { 198.50.128.75; 78.31.64.115; }; + also-notify { 78.31.64.115; 198.50.128.75; }; allow-transfer { 127.0.0.1; key envs_msT; key tilde_msT; }; update-policy { grant letsencrypt_U name _acme-challenge.envs.o. txt; }; }; @@ -71,7 +71,7 @@ zone "envs.tilde" { //auto-dnssec maintain; //inline-signing yes; notify explicit; - also-notify { 198.50.128.75; 78.31.64.115; 149.56.184.112; 213.239.234.117; }; + also-notify { 78.31.64.115; 198.50.128.75; 149.56.184.112; 213.239.234.117; }; allow-transfer { 127.0.0.1; key envs_msT; key tilde_msT; 149.56.184.112; 213.239.234.117; }; update-policy { grant letsencrypt_U name _acme-challenge.envs.tilde. txt; }; }; diff --git a/slave_tilde b/slave_tilde index 93ee18e..07ee7f4 100644 --- a/slave_tilde +++ b/slave_tilde @@ -65,12 +65,6 @@ zone "tilde.news" { masters { 198.50.128.75; }; }; -zone "tildenic.org" { - type slave; - file "/etc/bind/slaves/db.tildenic.org"; - masters { 198.50.128.75; }; -}; - zone "tilde.ninja" { type slave; file "/etc/bind/slaves/db.tilde.ninja"; diff --git a/zones/db.envs.net b/zones/db.envs.net index 93ba354..8d6845f 100644 --- a/zones/db.envs.net +++ b/zones/db.envs.net @@ -1,6 +1,7 @@ +$ORIGIN . $TTL 28800 ; 8 hours -envs.net. IN SOA ns1.envs.net. root.envs.net. ( - 2019112703 ; serial +envs.net IN SOA ns1.envs.net. root.envs.net. ( + 2019122901 ; serial 10800 ; refresh (3 hours) 3600 ; retry (1 hour) 604800 ; expire (1 week) @@ -11,7 +12,7 @@ envs.net. IN SOA ns1.envs.net. root.envs.net. ( A 89.163.145.170 MX 10 mail.envs.net. CAA 128 issue "letsencrypt.org" - TXT "v=spf1 a mx ~all" + TXT "v=spf1 a mx -all" TXT "keybase-site-verification=-iwam5CwuryuM8r6wUwTbINViZL9CJoyfVbBmBy7_8k" SSHFP 1 1 2a3dbba3587d58c0e5ca18538fb740d4d46a147f SSHFP 1 2 edd078ef499fce5ca186daa68e75dc888c69fa358b002898282dc413f6749458 diff --git a/zones/db.envs.sh b/zones/db.envs.sh index 7c44c1f..a46efc6 100644 --- a/zones/db.envs.sh +++ b/zones/db.envs.sh @@ -1,6 +1,7 @@ +$ORIGIN . $TTL 28800 ; 8 hours -envs.sh. IN SOA ns1.envs.net. root.envs.net. ( - 2019111402 ; Serial +envs.sh IN SOA ns1.envs.net. root.envs.net. ( + 2019122901 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire diff --git a/zones/db.envs.tilde b/zones/db.envs.tilde index 78ee816..cc7ae33 100644 --- a/zones/db.envs.tilde +++ b/zones/db.envs.tilde @@ -1,6 +1,7 @@ +$ORIGIN . $TTL 28800 ; 8 hours -envs.tilde. IN SOA ns1.envs.net. root.envs.net. ( - 2019111402 ; Serial +envs.tilde IN SOA ns1.envs.net. root.envs.net. ( + 2019122901 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire