From 85541c0933ba8fa4a2c7ddcc2562fab550b27518 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Fri, 27 Oct 2023 23:16:31 +0200 Subject: [PATCH] Update DNS TTLs to 60 seconds for maintenance --- terraform/lev-1/dns.tf | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/terraform/lev-1/dns.tf b/terraform/lev-1/dns.tf index bca3b15..7045471 100644 --- a/terraform/lev-1/dns.tf +++ b/terraform/lev-1/dns.tf @@ -8,112 +8,133 @@ resource "namecheap_domain_records" "pub-solar" { hostname = "flora-6" type = "A" address = "80.71.153.210" + ttl = 60 } record { hostname = "auth" type = "A" address = "80.71.153.210" + ttl = 60 } record { hostname = "ci" type = "A" address = "80.71.153.210" + ttl = 60 } record { hostname = "git" type = "A" address = "80.71.153.210" + ttl = 60 } record { hostname = "stream" type = "A" address = "80.71.153.210" + ttl = 60 } record { hostname = "list" type = "A" address = "80.71.153.210" + ttl = 60 } record { hostname = "obs-portal" type = "A" address = "80.71.153.210" + ttl = 60 } record { hostname = "vpn" type = "A" address = "80.71.153.210" + ttl = 60 } record { hostname = "cache" type = "A" address = "95.217.225.160" + ttl = 60 } record { hostname = "factorio" type = "A" address = "80.244.242.2" + ttl = 60 } record { hostname = "collabora" type = "A" address = "80.71.153.210" + ttl = 60 } record { hostname = "@" type = "A" address = "80.71.153.210" - ttl = 300 + ttl = 60 } record { hostname = "chat" type = "A" address = "85.88.23.162" + ttl = 60 } record { hostname = "cloud" type = "A" address = "80.71.153.133" + ttl = 60 } record { hostname = "coturn" type = "A" address = "80.71.153.239" + ttl = 60 } record { hostname = "hpb" type = "A" address = "80.71.153.239" + ttl = 60 } record { hostname = "dimension" type = "A" address = "85.88.23.162" + ttl = 60 } record { hostname = "element" type = "A" address = "85.88.23.162" + ttl = 60 } record { hostname = "files" type = "A" address = "85.88.23.161" + ttl = 60 } record { hostname = "mastodon" type = "A" address = "85.88.23.161" + ttl = 60 } record { hostname = "matrix" type = "A" address = "85.88.23.162" + ttl = 60 } record { hostname = "www" type = "A" address = "80.71.153.210" + ttl = 60 } record { hostname = "@" @@ -150,11 +171,13 @@ resource "namecheap_domain_records" "pub-solar" { record { hostname = "nachtigall" type = "A" + ttl = 60 address = "138.201.80.102" } record { hostname = "nachtigall" type = "AAAA" + ttl = 60 address = "2a01:4f8:172:1c25::1" } # SRV records can only be changed via NameCheap Web UI