Parameterize protonmail records by verification key

main
mat ess 2024-02-27 09:40:34 -05:00
parent 8399739b18
commit c8d9f86cab
4 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
-- _a = "mat.services"
-- custom protonmail domain
protonmail(_a)
protonmail(_a, "6e777d2bb348043a8e73b4f405b6b2dc659ff85f")
-- static site on netlify
alias(_a, "apex-loadbalancer.netlify.com")

View File

@ -2,7 +2,7 @@
-- _a = "sloane.lol"
-- custom protonmail domain
protonmail(_a)
protonmail(_a, "94d73b00f6e91d68cad4f484a6698da51258732d")
-- forgejo on fly
aaaa("git", "2a09:8280:1::a:4caa")

View File

@ -2,7 +2,7 @@
-- _a = "sloane.lol"
-- custom protonmail domain
protonmail(_a)
protonmail(_a, "")
-- forgejo on fly
aaaa("git", "2a09:8280:1::a:4caa")

View File

@ -1,8 +1,8 @@
function protonmail(domain)
function protonmail(domain, verification)
-- Configure mail records for protonmail
-- Verification
txt(domain, "protonmail-verification=6e777d2bb348043a8e73b4f405b6b2dc659ff85f")
txt(domain, "protonmail-verification=" .. verification)
-- MX records
mx(domain, "mail.protonmail.ch", 10)