Add alice & refactor zone
Some checks failed
/ test (push) Has been cancelled

This commit is contained in:
Haylin Moore 2024-10-10 20:22:11 -04:00
parent 5380538f38
commit 4a4f82ba84

View file

@ -1,11 +1,39 @@
var Wolfgirls = {
"stella": [
"198.8.59.4",
"2a0f:85c1:31:e11a::"
],
"nova": [
"193.57.159.93",
"2a0f:85c2:7::3b"
],
"jade": [
"23.143.82.34",
"2602:fc26:12:1::35"
],
"alice": [
"207.167.121.11",
"2602:fbf5:1::cfa7:790b"
]
}
function pointToServer(domain, server) {
return Wolfgirls[server].map(function(ip) {
if (ip.indexOf(":") !== -1) {
return AAAA(domain, ip)
}
return A(domain, ip)
});
}
D("wolfgirl.systems", REG_NONE D("wolfgirl.systems", REG_NONE
, DnsProvider(deSEC) , DnsProvider(deSEC)
, DefaultTTL(3600) , DefaultTTL(3600)
, A("stella", "198.8.59.4") , Object.keys(Wolfgirls).map(function(server) {
, AAAA("stella", "2a0f:85c1:31:e11a::") return pointToServer(server, server)
, A("nova", "193.57.159.93") })
, AAAA("nova", "2a0f:85c2:7::3b") // Now we can configure domains
, A("jade", "23.143.82.34") , pointToServer("@", "stella")
, AAAA("jade", "2602:fc26:12:1::35")
, TXT("@", "awrf awrf") , TXT("@", "awrf awrf")
) )