Use sys domain resource for reverse DNS

This commit is contained in:
Jake Howard
2023-12-31 18:22:21 +00:00
parent 8b21c7d64c
commit 6a23d8cab5
2 changed files with 4 additions and 4 deletions

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
}