Update DNS records
The pub.solar website and www record now live on flora-6 mail.greenbaum.cloud -> mx2.greenbaum.cloud Remove non-functional mail, imap and smtp records. mx2.greenbaum.cloud is responsible for mails as per MX record Namecheap likes to add the root dot to DNS records, let's follow its preference
This commit is contained in:
parent
14982bd164
commit
6c62589dd8
|
@ -7,27 +7,27 @@ resource "namecheap_domain_records" "pub-solar" {
|
|||
record {
|
||||
hostname = "flora-6"
|
||||
type = "CNAME"
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone"
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
|
||||
}
|
||||
record {
|
||||
hostname = "auth"
|
||||
type = "CNAME"
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone"
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
|
||||
}
|
||||
record {
|
||||
hostname = "git"
|
||||
type = "CNAME"
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone"
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
|
||||
}
|
||||
record {
|
||||
hostname = "obs-portal"
|
||||
type = "CNAME"
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone"
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
|
||||
}
|
||||
record {
|
||||
hostname = "vpn"
|
||||
type = "CNAME"
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone"
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
|
||||
}
|
||||
record {
|
||||
hostname = "cache"
|
||||
|
@ -39,15 +39,10 @@ resource "namecheap_domain_records" "pub-solar" {
|
|||
type = "A"
|
||||
address = "95.217.225.160"
|
||||
}
|
||||
record {
|
||||
hostname = "mail"
|
||||
type = "A"
|
||||
address = "85.88.23.19"
|
||||
}
|
||||
record {
|
||||
hostname = "@"
|
||||
type = "ALIAS"
|
||||
address = "www.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.cgn-1.greenbaum.zone."
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
|
||||
ttl = 300
|
||||
}
|
||||
record {
|
||||
|
@ -75,11 +70,6 @@ resource "namecheap_domain_records" "pub-solar" {
|
|||
type = "CNAME"
|
||||
address = "mastodon-proxy.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.cgn-1.greenbaum.zone."
|
||||
}
|
||||
record {
|
||||
hostname = "imap"
|
||||
type = "CNAME"
|
||||
address = "mail.pub.solar."
|
||||
}
|
||||
record {
|
||||
hostname = "mastodon"
|
||||
type = "CNAME"
|
||||
|
@ -90,20 +80,15 @@ resource "namecheap_domain_records" "pub-solar" {
|
|||
type = "CNAME"
|
||||
address = "matrix.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.cgn-1.greenbaum.zone."
|
||||
}
|
||||
record {
|
||||
hostname = "smtp"
|
||||
type = "CNAME"
|
||||
address = "mail.pub.solar."
|
||||
}
|
||||
record {
|
||||
hostname = "www"
|
||||
type = "CNAME"
|
||||
address = "www.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.cgn-1.greenbaum.zone."
|
||||
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
|
||||
}
|
||||
record {
|
||||
hostname = "@"
|
||||
type = "TXT"
|
||||
address = "v=spf1 a:mail.greenbaum.cloud ?all"
|
||||
address = "v=spf1 a:mx2.greenbaum.cloud ?all"
|
||||
}
|
||||
record {
|
||||
hostname = "_dmarc"
|
||||
|
@ -113,7 +98,7 @@ resource "namecheap_domain_records" "pub-solar" {
|
|||
record {
|
||||
hostname = "@"
|
||||
type = "MX"
|
||||
address = "mail.greenbaum.cloud"
|
||||
address = "mx2.greenbaum.cloud."
|
||||
mx_pref = "0"
|
||||
}
|
||||
# SRV records can only be changed via NameCheap Web UI
|
||||
|
|
Loading…
Reference in a new issue