Merge pull request 'flora-6: init list.pub.solar mail DNS records' (#2) from dns/add-list-mail-records into main

Reviewed-on: pub-solar/infra#2
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
This commit is contained in:
b12f 2023-02-24 20:49:05 +01:00
commit 9731b69cbb

View file

@ -26,8 +26,8 @@ resource "namecheap_domain_records" "pub-solar" {
}
record {
hostname = "list"
type = "CNAME"
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.210"
}
record {
hostname = "obs-portal"
@ -98,19 +98,35 @@ resource "namecheap_domain_records" "pub-solar" {
record {
hostname = "@"
type = "TXT"
address = "v=spf1 a:mx2.greenbaum.cloud ?all"
address = "v=spf1 include:spf.greenbaum.cloud a:list.pub.solar ~all"
}
record {
hostname = "list"
type = "TXT"
address = "v=spf1 a:list.pub.solar ?all"
}
record {
hostname = "_dmarc"
type = "TXT"
address = "v=DMARC1; p=reject;"
}
record {
hostname = "_dmarc.list"
type = "TXT"
address = "v=DMARC1; p=reject;"
}
record {
hostname = "@"
type = "MX"
address = "mx2.greenbaum.cloud."
mx_pref = "0"
}
record {
hostname = "list"
type = "MX"
address = "list.pub.solar"
mx_pref = "0"
}
# SRV records can only be changed via NameCheap Web UI
# add comment
}