replace global ip addresses with edge-only ones

This commit is contained in:
m5r 2023-12-13 20:16:04 +01:00
parent 1e041cd072
commit 18e4091bdf
No known key found for this signature in database
GPG Key ID: 5BC847276DD5DDEA

View File

@ -34,18 +34,18 @@ var (
"ns.local-ip.sh.": { "ns.local-ip.sh.": {
// record holding ip addresses of ns1 and ns2 // record holding ip addresses of ns1 and ns2
A: []*dns.A{ A: []*dns.A{
{A: net.IPv4(137, 66, 25, 53)}, {A: net.IPv4(137, 66, 40, 11)},
{A: net.IPv4(188, 93, 146, 54)}, {A: net.IPv4(137, 66, 40, 12)},
}, },
}, },
"ns1.local-ip.sh.": { "ns1.local-ip.sh.": {
A: []*dns.A{ A: []*dns.A{
{A: net.IPv4(137, 66, 25, 53)}, // fly.io global ip address {A: net.IPv4(137, 66, 40, 11)}, // fly.io edge-only ip address, see https://community.fly.io/t/custom-domains-certificate-is-stuck-on-awaiting-configuration/8329
}, },
}, },
"ns2.local-ip.sh.": { "ns2.local-ip.sh.": {
A: []*dns.A{ A: []*dns.A{
{A: net.IPv4(188, 93, 146, 54)}, // fly.io global ip address #2 {A: net.IPv4(137, 66, 40, 12)}, // fly.io edge-only ip address #2
}, },
}, },
"local-ip.sh.": { "local-ip.sh.": {