Creating mail.shockrah.xyz dns records

This commit is contained in:
shockrah 2023-10-20 16:54:33 -07:00
parent 8aee1483fc
commit 488722aaff

View File

@ -35,7 +35,15 @@ locals {
records = [ "v=spf1 include:_mailcust.gandi.net ?all" ]
},
{ name = "www.shockrah.xyz", records = [ var.alpha.dns ] },
{ name = "resume.shockrah.xyz", records = [ var.alpha.dns ] }
{ name = "resume.shockrah.xyz", records = [ var.alpha.dns ] },
# Mail stuff
{ name = "mail.shockrah.xyz", type = "A", records = [ "45.76.78.158" ] },
{ name = "box.mail.shockrah.xyz", type = "A", records = [ "45.76.78.158" ] },
{ name = "158.78.76.45.in-addr.arpa", type = "PTR", records = [ "mail.shockrah.xyz" ] },
{ name = "8.6.8.2.e.9.e.f.f.f.4.0.0.0.4.5.1.d.f.3.1.0.0.6.0.f.9.1.1.0.0.2.ip6.arpa", type = "PTR", records = [ "mail.shockrah.xyz" ] },
# glue records
{ name = "ns1.mail.shockrah.xyz", type = "A", records = [ "45.76.78.158" ] },
{ name = "ns2.mail.shockrah.xyz", type = "A", records = [ "45.76.78.158" ] },
]
}