From f067ef988ab22f2258e2b3609bb2220ada52671a Mon Sep 17 00:00:00 2001 From: creme Date: Mon, 24 Aug 2020 11:34:59 +0200 Subject: [PATCH] move ns2 to new server --- named.conf.local | 10 +++++----- zones/db.envs.net | 10 ++++++---- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/named.conf.local b/named.conf.local index 5abf644..91db6c3 100644 --- a/named.conf.local +++ b/named.conf.local @@ -21,7 +21,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 168.119.12.180 { keys { envs_msT; }; }; // ns2.envs.net server 198.50.128.75 { keys { tilde_msT; }; }; // ns1.tildeverse.net // TILDE INTRA-NET @@ -37,7 +37,7 @@ zone "envs.net" { //auto-dnssec maintain; //inline-signing yes; notify explicit; - also-notify { 78.31.64.115; 198.50.128.75; }; + also-notify { 168.119.12.180; 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 { 78.31.64.115; 198.50.128.75; }; + also-notify { 168.119.12.180; 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 { 78.31.64.115; 198.50.128.75; }; + also-notify { 168.119.12.180; 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 { 78.31.64.115; 198.50.128.75; 149.56.184.112; 213.239.234.117; }; + also-notify { 168.119.12.180; 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/zones/db.envs.net b/zones/db.envs.net index 1d06c8f..bb16f17 100644 --- a/zones/db.envs.net +++ b/zones/db.envs.net @@ -1,7 +1,7 @@ $ORIGIN . $TTL 28800 ; 8 hours envs.net IN SOA ns1.envs.net. root.envs.net. ( - 2020081101 ; serial + 20200824101 ; serial 10800 ; refresh (3 hours) 3600 ; retry (1 hour) 604800 ; expire (1 week) @@ -21,11 +21,13 @@ envs.net IN SOA ns1.envs.net. root.envs.net. ( SSHFP 4 2 57e9974ec449fa37c9331c4f943ff6f1da56a2eba7b375aeab0a69bfaca4542f $ORIGIN envs.net. ns1 A 89.163.145.170 -ns2 A 78.31.64.115 -* A 89.163.145.170 +ns2 A 168.119.12.180 +core A 89.163.145.170 +srv01 A 168.119.12.180 dns A 5.199.130.141 -pleroma A 5.199.136.29 +* A 89.163.145.170 status CNAME envs.netlify.app. +pleroma A 5.199.136.29 sync A 78.31.64.115 _dmarc TXT "v=DMARC1; p=quarantine; pct=100" $TTL 120 ; 2 minutes