Register hosts in Linode Managed DNS

This commit is contained in:
2022-05-30 20:58:41 -05:00
parent 3e74388f97
commit ed8e4a55c4
6 changed files with 31 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
resource "linode_rdns" "this_ipv6" {
address = element(split("/", linode_instance.this.ipv6), 0)
depends_on = [
linode_domain_record.this_ipv6,
]
rdns = "${var.host_name}.${var.domain_name}"
wait_for_available = true
}