Merge branch 'actions'

This commit is contained in:
Haylin Moore 2024-10-10 20:24:03 -04:00
commit 67afb5ef8c

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")
)