feat: terraform DNS for namecheap #29

Merged
b12f merged 8 commits from feat/terraform-dns into main 2023-10-29 19:39:35 +00:00
Showing only changes of commit 0cc3926aac - Show all commits

View file

@ -14,7 +14,6 @@ resource "namecheap_domain_records" "pub-solar" {
hostname = "auth" hostname = "auth"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar" address = "nachtigall.pub.solar"
ttl = 60
} }
record { record {
hostname = "ci" hostname = "ci"
@ -26,19 +25,16 @@ resource "namecheap_domain_records" "pub-solar" {
hostname = "git" hostname = "git"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar" address = "nachtigall.pub.solar"
ttl = 60
} }
record { record {
hostname = "stream" hostname = "stream"
type = "A" type = "CNAME"
address = "80.71.153.210" address = "nachtigall.pub.solar"
ttl = 60
} }
record { record {
hostname = "list" hostname = "list"
type = "A" type = "CNAME"
address = "80.71.153.210" address = "nachtigall.pub.solar"
ttl = 60
} }
record { record {
hostname = "obs-portal" hostname = "obs-portal"
@ -116,13 +112,11 @@ resource "namecheap_domain_records" "pub-solar" {
hostname = "files" hostname = "files"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar" address = "nachtigall.pub.solar"
ttl = 60
} }
record { record {
hostname = "mastodon" hostname = "mastodon"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar" address = "nachtigall.pub.solar"
ttl = 60
} }
record { record {
hostname = "matrix" hostname = "matrix"
@ -134,7 +128,6 @@ resource "namecheap_domain_records" "pub-solar" {
hostname = "www" hostname = "www"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar" address = "nachtigall.pub.solar"
ttl = 60
} }
record { record {
hostname = "@" hostname = "@"
@ -171,13 +164,11 @@ resource "namecheap_domain_records" "pub-solar" {
record { record {
hostname = "nachtigall" hostname = "nachtigall"
type = "A" type = "A"
ttl = 60
address = "138.201.80.102" address = "138.201.80.102"
} }
record { record {
hostname = "nachtigall" hostname = "nachtigall"
type = "AAAA" type = "AAAA"
ttl = 60
address = "2a01:4f8:172:1c25::1" address = "2a01:4f8:172:1c25::1"
} }
record { record {
@ -185,6 +176,16 @@ resource "namecheap_domain_records" "pub-solar" {
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar" address = "nachtigall.pub.solar"
} }
record {
hostname = "chat.test"
type = "CNAME"
address = "nachtigall.pub.solar"
}
record {
hostname = "test"
type = "CNAME"
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
} }