Move vanity nameserver config to template
parent
b7bcdca4ab
commit
ead5da6614
|
@ -13,7 +13,4 @@ aaaa("stats", "2a09:8280:1::6:6df4")
|
|||
a("stats", "168.220.83.238")
|
||||
|
||||
-- vanity nameservers
|
||||
aaaa("tom.ns", "2001:67c:25a0::1")
|
||||
a("tom.ns", "185.142.218.1")
|
||||
aaaa("dana.ns", "2001:67c:25a0::2")
|
||||
a("dana.ns", "185.142.218.2")
|
||||
vanityns("tom", "dana")
|
||||
|
|
|
@ -19,3 +19,12 @@ function protonmail(domain)
|
|||
-- DMARC
|
||||
txt("_dmarc", "v=DMARC1; p=quarantine")
|
||||
end
|
||||
|
||||
function vanityns(ns1, ns2)
|
||||
-- Configure vanity DNS nameservers
|
||||
|
||||
aaaa(concat(ns1, "ns"), "2001:67c:25a0::1")
|
||||
a(concat(ns1, "ns"), "185.142.218.1")
|
||||
aaaa(concat(ns2, "ns"), "2001:67c:25a0::2")
|
||||
a(concat(ns2, "ns"), "185.142.218.2")
|
||||
end
|
Loading…
Reference in New Issue