Use sys domains when pointing records to servers #117

Merged
jake merged 3 commits from chore/cname-sys-domains into master 2023-12-31 21:42:40 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 6a23d8cab5 - Show all commits

View file

@ -77,10 +77,10 @@ resource "linode_firewall" "casey" {
resource "linode_rdns" "casey_reverse_ipv4" {
address = linode_instance.casey.ip_address
rdns = "casey.sys.theorangeone.net"
rdns = cloudflare_record.sys_domain_casey.hostname
}
resource "linode_rdns" "casey_reverse_ipv6" {
address = split("/", linode_instance.casey.ipv6)[0]
rdns = "casey.sys.theorangeone.net"
rdns = cloudflare_record.sys_domain_casey.hostname
}

View file

@ -18,11 +18,11 @@ resource "vultr_instance" "walker" {
resource "vultr_reverse_ipv4" "walker_reverse_ipv4" {
instance_id = vultr_instance.walker.id
ip = vultr_instance.walker.main_ip
reverse = "walker.sys.theorangeone.net"
reverse = cloudflare_record.sys_domain_walker.hostname
}
resource "vultr_reverse_ipv6" "walker_reverse_ipv6" {
instance_id = vultr_instance.walker.id
ip = vultr_instance.walker.v6_main_ip
reverse = "walker.sys.theorangeone.net"
reverse = cloudflare_record.sys_domain_walker.hostname
}