forked from pub-solar/infra
fix: DNS terraform @ ALIAS, CNAME does not work for the root domain
And final dot to nachtigall hostnames to make NameCheap API happy
This commit is contained in:
parent
20277f23ff
commit
bafa56ea57
|
@ -13,7 +13,7 @@ resource "namecheap_domain_records" "pub-solar" {
|
||||||
record {
|
record {
|
||||||
hostname = "auth"
|
hostname = "auth"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar"
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "ci"
|
hostname = "ci"
|
||||||
|
@ -24,17 +24,17 @@ resource "namecheap_domain_records" "pub-solar" {
|
||||||
record {
|
record {
|
||||||
hostname = "git"
|
hostname = "git"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar"
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "stream"
|
hostname = "stream"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar"
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "list"
|
hostname = "list"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar"
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "obs-portal"
|
hostname = "obs-portal"
|
||||||
|
@ -68,9 +68,9 @@ resource "namecheap_domain_records" "pub-solar" {
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "@"
|
hostname = "@"
|
||||||
type = "CNAME"
|
type = "ALIAS"
|
||||||
address = "nachtigall.pub.solar"
|
address = "nachtigall.pub.solar."
|
||||||
ttl = 60
|
ttl = 300
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "chat"
|
hostname = "chat"
|
||||||
|
@ -111,12 +111,12 @@ resource "namecheap_domain_records" "pub-solar" {
|
||||||
record {
|
record {
|
||||||
hostname = "files"
|
hostname = "files"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar"
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "mastodon"
|
hostname = "mastodon"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar"
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "matrix"
|
hostname = "matrix"
|
||||||
|
@ -127,7 +127,7 @@ resource "namecheap_domain_records" "pub-solar" {
|
||||||
record {
|
record {
|
||||||
hostname = "www"
|
hostname = "www"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar"
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "@"
|
hostname = "@"
|
||||||
|
@ -158,7 +158,7 @@ resource "namecheap_domain_records" "pub-solar" {
|
||||||
record {
|
record {
|
||||||
hostname = "list"
|
hostname = "list"
|
||||||
type = "MX"
|
type = "MX"
|
||||||
address = "list.pub.solar"
|
address = "list.pub.solar."
|
||||||
mx_pref = "0"
|
mx_pref = "0"
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
|
@ -174,17 +174,17 @@ resource "namecheap_domain_records" "pub-solar" {
|
||||||
record {
|
record {
|
||||||
hostname = "matrix.test"
|
hostname = "matrix.test"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar"
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "chat.test"
|
hostname = "chat.test"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar"
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "test"
|
hostname = "test"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar"
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
# SRV records can only be changed via NameCheap Web UI
|
# SRV records can only be changed via NameCheap Web UI
|
||||||
# add comment
|
# add comment
|
||||||
|
|
Loading…
Reference in a new issue