Move sloane.page to fastmail
parent
20ea1b8479
commit
f7133fedef
|
@ -1,8 +1,8 @@
|
||||||
-- mat.services zone configuration
|
-- mat.services zone configuration
|
||||||
-- _a = "sloane.lol"
|
-- _a = "sloane.page"
|
||||||
|
|
||||||
-- custom protonmail domain
|
-- custom fastmail domain
|
||||||
protonmail(_a, "3cc98a4f2ce0d63b7ce519fe70419b2b2a5cee6f", "dxmkd56ygkv2n3mtqzoessrkmphqqgbqoxpbmys2z4ecyc5eemmxa")
|
fastmail(_a)
|
||||||
|
|
||||||
-- forgejo on fly
|
-- forgejo on fly
|
||||||
aaaa("git", "2a09:8280:1::a:4caa")
|
aaaa("git", "2a09:8280:1::a:4caa")
|
||||||
|
|
|
@ -1,31 +1,41 @@
|
||||||
function protonmail(domain, verification, dkim)
|
function protonmail(domain, verification, dkim)
|
||||||
-- Configure mail records for protonmail
|
-- Configure mail records for protonmail
|
||||||
|
|
||||||
-- Verification
|
-- Verification
|
||||||
txt(domain, "protonmail-verification=" .. verification)
|
txt(domain, "protonmail-verification=" .. verification)
|
||||||
|
|
||||||
-- MX records
|
-- MX records
|
||||||
mx(domain, "mail.protonmail.ch", 10)
|
mx(domain, "mail.protonmail.ch", 10)
|
||||||
mx(domain, "mailsec.protonmail.ch", 20)
|
mx(domain, "mailsec.protonmail.ch", 20)
|
||||||
|
|
||||||
-- SPF
|
-- SPF
|
||||||
txt(domain, "v=spf1 include:_spf.protonmail.ch mx ~all")
|
txt(domain, "v=spf1 include:_spf.protonmail.ch mx ~all")
|
||||||
|
|
||||||
-- DKIM
|
-- DKIM
|
||||||
-- TODO: use concat()?
|
-- TODO: use concat()?
|
||||||
cname("protonmail._domainkey", "protonmail.domainkey." .. dkim .. ".domains.proton.ch.")
|
cname("protonmail._domainkey", "protonmail.domainkey." .. dkim .. ".domains.proton.ch.")
|
||||||
cname("protonmail2._domainkey", "protonmail2.domainkey." .. dkim .. ".domains.proton.ch.")
|
cname("protonmail2._domainkey", "protonmail2.domainkey." .. dkim .. ".domains.proton.ch.")
|
||||||
cname("protonmail3._domainkey", "protonmail3.domainkey." .. dkim .. ".domains.proton.ch.")
|
cname("protonmail3._domainkey", "protonmail3.domainkey." .. dkim .. ".domains.proton.ch.")
|
||||||
|
|
||||||
-- DMARC
|
-- DMARC
|
||||||
txt("_dmarc", "v=DMARC1; p=quarantine")
|
txt("_dmarc", "v=DMARC1; p=quarantine")
|
||||||
|
end
|
||||||
|
|
||||||
|
function fastmail(domain)
|
||||||
|
-- Configure mail records for fastmail
|
||||||
|
mx(domain, "in1-smtp.messagingengine.com", 10)
|
||||||
|
mx(domain, "in2-smtp.messagingengine.com", 20)
|
||||||
|
cname("fm1._domainkey", "fm1." .. domain .. ".dkim.fmhosted.com")
|
||||||
|
cname("fm2._domainkey", "fm2." .. domain .. ".dkim.fmhosted.com")
|
||||||
|
cname("fm3._domainkey", "fm3." .. domain .. ".dkim.fmhosted.com")
|
||||||
|
txt(domain, "v=spf1 include:spf.messagingengine.com ?all")
|
||||||
end
|
end
|
||||||
|
|
||||||
function vanityns(ns1, ns2)
|
function vanityns(ns1, ns2)
|
||||||
-- Configure vanity DNS nameservers
|
-- Configure vanity DNS nameservers
|
||||||
|
|
||||||
aaaa(concat(ns1, "ns"), "2001:67c:25a0::1")
|
aaaa(concat(ns1, "ns"), "2001:67c:25a0::1")
|
||||||
a(concat(ns1, "ns"), "185.142.218.1")
|
a(concat(ns1, "ns"), "185.142.218.1")
|
||||||
aaaa(concat(ns2, "ns"), "2001:67c:25a0::2")
|
aaaa(concat(ns2, "ns"), "2001:67c:25a0::2")
|
||||||
a(concat(ns2, "ns"), "185.142.218.2")
|
a(concat(ns2, "ns"), "185.142.218.2")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue