Compare commits

..

3 commits

Author SHA1 Message Date
Haylin Moore
67afb5ef8c Merge branch 'actions' 2024-10-10 20:24:03 -04:00
Haylin Moore
4a4f82ba84 Add alice & refactor zone
Some checks failed
/ test (push) Has been cancelled
2024-10-10 20:22:11 -04:00
Haylin Moore
5380538f38 Create action
Some checks failed
/ test (push) Has been cancelled
2024-09-29 01:05:27 -04:00

View file

@ -1,12 +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
, DnsProvider(deSEC)
, DefaultTTL(3600)
, A("@", "198.8.59.4")
, AAAA("@", "2a0f:85c1:31:e11a::")
, A("stella", "198.8.59.4")
, AAAA("stella", "2a0f:85c1:31:e11a::")
, A("nova", "193.57.159.93")
, AAAA("nova", "2a0f:85c2:7::3b")
, A("jade", "23.143.82.34")
, AAAA("jade", "2602:fc26:12:1::35")
, Object.keys(Wolfgirls).map(function(server) {
return pointToServer(server, server)
})
// Now we can configure domains
, pointToServer("@", "stella")
, TXT("@", "awrf awrf")
)