flora-6: init list.pub.solar mail DNS records

- TXT spf record
- A record because mail servers don't like CNAME
- MX record for subdomain list.pub.solar
pull/2/head
teutat3s 2023-02-02 22:50:34 +01:00
parent e54844ef52
commit db234cdb5b
Signed by: teutat3s
GPG Key ID: 4FA1D3FA524F22C1
1 changed files with 13 additions and 2 deletions

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"
@ -100,6 +100,11 @@ resource "namecheap_domain_records" "pub-solar" {
type = "TXT"
address = "v=spf1 a:mx2.greenbaum.cloud ?all"
}
record {
hostname = "list"
type = "TXT"
address = "v=spf1 a:list.pub.solar ?all"
}
record {
hostname = "_dmarc"
type = "TXT"
@ -111,6 +116,12 @@ resource "namecheap_domain_records" "pub-solar" {
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
}