Move sloane.page to fastmail

main
sloane ess 2024-08-18 17:47:47 -04:00
parent 20ea1b8479
commit f7133fedef
2 changed files with 38 additions and 28 deletions

View File

@ -1,8 +1,8 @@
-- mat.services zone configuration
-- _a = "sloane.lol"
-- _a = "sloane.page"
-- custom protonmail domain
protonmail(_a, "3cc98a4f2ce0d63b7ce519fe70419b2b2a5cee6f", "dxmkd56ygkv2n3mtqzoessrkmphqqgbqoxpbmys2z4ecyc5eemmxa")
-- custom fastmail domain
fastmail(_a)
-- forgejo on fly
aaaa("git", "2a09:8280:1::a:4caa")

View File

@ -21,6 +21,16 @@ function protonmail(domain, verification, dkim)
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
function vanityns(ns1, ns2)
-- Configure vanity DNS nameservers