Moving dns records to mail server configuration

This commit is contained in:
shockrah 2023-10-21 00:00:46 -07:00
parent 19e42bf778
commit 1fe7ccc898

View File

@ -36,14 +36,6 @@ locals {
}, },
{ name = "www.shockrah.xyz", records = [ var.alpha.dns ] }, { 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" ] },
] ]
} }