switch from ns2 back to ns1
This commit is contained in:
parent
d768621e5b
commit
c93a9e3b0b
@ -253,7 +253,7 @@ in
|
||||
|
||||
dns_query = {
|
||||
servers = [
|
||||
"ns2.thalheim.io"
|
||||
"ns1.thalheim.io"
|
||||
"ns2.he.net"
|
||||
"ns3.he.net"
|
||||
"ns4.he.net"
|
||||
|
@ -9,19 +9,19 @@ let
|
||||
ip6 = lib.head config.networking.eve.ipv6.addresses;
|
||||
acmeChallenge = domain:
|
||||
pkgs.writeText "_acme-challenge.${domain}.zone" ''
|
||||
@ 3600 IN SOA _acme-challenge.${domain}. root.thalheim.io. 2021013110 7200 3600 86400 3600
|
||||
@ 3600 IN SOA _acme-challenge.${domain}. ns1.thalheim.io. 2021013110 7200 3600 86400 3600
|
||||
|
||||
$TTL 600
|
||||
|
||||
@ IN NS ns2.thalheim.io.
|
||||
@ IN NS ns1.thalheim.io.
|
||||
'';
|
||||
dyndns = domain:
|
||||
pkgs.writeText "${domain}.zone" ''
|
||||
@ 3600 IN SOA ${domain}. root.thalheim.io. 2021013110 7200 3600 86400 3600
|
||||
@ 3600 IN SOA ${domain}. ns1.thalheim.io. 2021013110 7200 3600 86400 3600
|
||||
|
||||
$TTL 300
|
||||
|
||||
@ IN NS ns2.thalheim.io.
|
||||
@ IN NS ns1.thalheim.io.
|
||||
'';
|
||||
in
|
||||
{
|
||||
|
@ -1,8 +1,8 @@
|
||||
@ 3600 IN SOA lekwati.com. ns2.thalheim.io. 2022091300 7200 3600 86400 3600
|
||||
@ 3600 IN SOA lekwati.com. ns1.thalheim.io. 2022091300 7200 3600 86400 3600
|
||||
|
||||
$TTL 600
|
||||
|
||||
@ 3600 IN NS ns2.thalheim.io.
|
||||
@ 3600 IN NS ns1.thalheim.io.
|
||||
@ 3600 IN NS ns2.he.net.
|
||||
@ 3600 IN NS ns3.he.net.
|
||||
@ 3600 IN NS ns4.he.net.
|
||||
@ -20,7 +20,7 @@ blog IN CNAME slekwati.github.io.
|
||||
writey-things IN CNAME slekwati.github.io.
|
||||
desperate-chef IN CNAME slekwati.github.io.
|
||||
for-marks IN CNAME slekwati.github.io.
|
||||
_acme-challenge IN NS ns2.thalheim.io.
|
||||
_acme-challenge IN NS ns1.thalheim.io.
|
||||
|
||||
;; TXT Records
|
||||
_mta-sts IN TXT "v=STSv1; id=20181027085700Z;"
|
||||
@ -32,5 +32,3 @@ _smtp._tls IN TXT "v=TLSRPTv1;rua=mailto:joerg.smtp-tls@thalheim.io"
|
||||
@ IN TXT "v=spf1 mx -all"
|
||||
_token._dnswl IN TXT "1vf4k8p0xvetb1y37xjrir5x7vtt1k11"
|
||||
@ IN TXT "google-site-verification=xxY6u05ueB-UbRdaGKjd1MpqbqhWLrUaQHNEjQ8Joq8"
|
||||
|
||||
bbc IN NS ns2.thalheim.io.
|
||||
|
@ -1,7 +1,6 @@
|
||||
@ 3600 IN SOA thalheim.io. ns.thalheim.io. 2022123104 7200 3600 86400 3600
|
||||
@ 3600 IN SOA thalheim.io. ns1.thalheim.io. 2022123106 7200 3600 86400 3600
|
||||
|
||||
;;@ 3600 IN NS ns1
|
||||
@ 3600 IN NS ns2
|
||||
@ 3600 IN NS ns1
|
||||
@ 3600 IN NS ns2.he.net.
|
||||
@ 3600 IN NS ns3.he.net.
|
||||
|
@ -21,7 +21,7 @@
|
||||
exit 0
|
||||
fi
|
||||
(
|
||||
echo "server ns2.thalheim.io"
|
||||
echo "server ns1.thalheim.io"
|
||||
echo "zone ${config.networking.hostName}.thalheim.io."
|
||||
echo "update delete ${config.networking.hostName}.thalheim.io. A"
|
||||
if [[ -n "$ip" ]]; then
|
||||
|
@ -165,7 +165,7 @@
|
||||
lookup_host = "rauter.thalheim.io";
|
||||
domain = "rauter.thalheim.io.";
|
||||
ip_source = "network";
|
||||
dns_server = "ns2.thalheim.io";
|
||||
dns_server = "ns1.thalheim.io";
|
||||
use_syslog = "2";
|
||||
username = "hmac-sha256:rauter";
|
||||
password = "@tsig_key@";
|
||||
|
Loading…
Reference in New Issue
Block a user