Improve resource formatting and update othostash ALIAS.

This commit is contained in:
Otho 2022-12-31 00:37:21 -05:00
parent 9591efd680
commit 5d3a43f8d1
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -21,14 +21,14 @@ provider "namecheap" {}
resource "namecheap_domain_records" "othonotes" { resource "namecheap_domain_records" "othonotes" {
domain = "othonotes.com" domain = "othonotes.com"
record { record {
address = "rprxy-0.saline.o4data.net"
hostname = "@" hostname = "@"
address = "rprxy-0.saline.o4data.net"
type = "ALIAS" type = "ALIAS"
ttl = 300 ttl = 300
} }
record { record {
address = "othonotes.com."
hostname = "www" hostname = "www"
address = "othonotes.com."
type = "CNAME" type = "CNAME"
} }
} }
@ -37,23 +37,24 @@ resource "namecheap_domain_records" "othostash" {
domain = "othostash.com" domain = "othostash.com"
record { record {
address = "96.78.236.124"
hostname = "@" hostname = "@"
type = "A" address = "stashbox.delhi.o4data.net"
type = "ALIAS"
ttl = 300
} }
record { record {
address = "othostash.com."
hostname = "www" hostname = "www"
address = "othostash.com."
type = "CNAME" type = "CNAME"
} }
record { record {
address = "rprxy-0.saline.o4data.net"
hostname = "websites" hostname = "websites"
address = "rprxy-0.saline.o4data.net"
type = "CNAME" type = "CNAME"
} }
record { record {
address = "rprxy-0.saline.o4data.net"
hostname = "filemanager" hostname = "filemanager"
address = "rprxy-0.saline.o4data.net"
type = "CNAME" type = "CNAME"
} }
} }