Verified Commit f563303f authored by Frederik Schwan's avatar Frederik Schwan
Browse files

regroup and rename mail records

parent 1ef9e01f
......@@ -219,14 +219,6 @@ resource "hetznerdns_record" "archlinux_org_origin_ns1" {
# type = "SOA"
# }
resource "hetznerdns_record" "archlinux_org_origin_txt" {
zone_id = hetznerdns_zone.archlinux.id
name = "@"
ttl = 600
value = "\"v=spf1 ip4:66.211.214.132/28 ip4:5.9.250.164 ip6:2a01:4f8:160:3033::2 ip4:138.201.81.199/32 ip4:88.198.91.70/32 ip4:95.216.189.61 ip6:2a01:4f9:c010:3052::1 a:aur.archlinux.org a:apollo.archlinux.org ~all\""
type = "TXT"
}
resource "hetznerdns_record" "archlinux_org_origin_apollo_domainkey_txt" {
zone_id = hetznerdns_zone.archlinux.id
name = "apollo._domainkey"
......@@ -511,7 +503,7 @@ resource "hetznerdns_record" "archlinux_org_monitoring_aaaa" {
type = "AAAA"
}
resource "hetznerdns_record" "archlinux_org_mx_a" {
resource "hetznerdns_record" "archlinux_org_mail_a" {
zone_id = hetznerdns_zone.archlinux.id
name = "mail"
ttl = 600
......@@ -519,7 +511,7 @@ resource "hetznerdns_record" "archlinux_org_mx_a" {
type = "A"
}
resource "hetznerdns_record" "archlinux_org_mx_aaaa" {
resource "hetznerdns_record" "archlinux_org_mail_aaaa" {
zone_id = hetznerdns_zone.archlinux.id
name = "mail"
ttl = 600
......@@ -527,7 +519,15 @@ resource "hetznerdns_record" "archlinux_org_mx_aaaa" {
type = "AAAA"
}
resource "hetznerdns_record" "archlinux_org_mx_txt" {
resource "hetznerdns_record" "archlinux_org_origin_txt" {
zone_id = hetznerdns_zone.archlinux.id
name = "@"
ttl = 600
value = "\"v=spf1 ip4:66.211.214.132/28 ip4:5.9.250.164 ip6:2a01:4f8:160:3033::2 ip4:138.201.81.199/32 ip4:88.198.91.70/32 ip4:95.216.189.61 ip6:2a01:4f9:c010:3052::1 a:aur.archlinux.org a:apollo.archlinux.org ~all\""
type = "TXT"
}
resource "hetznerdns_record" "archlinux_org_mail_txt" {
zone_id = hetznerdns_zone.archlinux.id
name = "mail"
ttl = 600
......@@ -535,6 +535,13 @@ resource "hetznerdns_record" "archlinux_org_mx_txt" {
type = "TXT"
}
resource "hetznerdns_record" "archlinux_org_dmarc_txt" {
zone_id = hetznerdns_zone.archlinux.id
name = "_dmarc"
value = "\"v=DMARC1; p=none; rua=mailto:dmarc-reports@archlinux.org; ruf=mailto:dmarc-reports@archlinux.org;\""
type = "TXT"
}
resource "hetznerdns_record" "archlinux_org_openpgpkey_a" {
zone_id = hetznerdns_zone.archlinux.id
name = "openpgpkey"
......@@ -815,13 +822,6 @@ resource "hetznerdns_record" "archlinux_org_matrix_tcp_srv" {
type = "SRV"
}
resource "hetznerdns_record" "archlinux_org_dmarc_txt" {
zone_id = hetznerdns_zone.archlinux.id
name = "_dmarc"
value = "\"v=DMARC1; p=none; rua=mailto:dmarc-reports@archlinux.org; ruf=mailto:dmarc-reports@archlinux.org;\""
type = "TXT"
}
resource "hetznerdns_record" "archlinux_org_github_challenge_archlinux" {
zone_id = hetznerdns_zone.archlinux.id
name = "_github-challenge-archlinux"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment