Add reverse DNS
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
resource "linode_rdns" "this_ipv4" {
|
||||||
|
address = linode_instance.this.ip_address
|
||||||
|
rdns = "${var.host_name}.${var.domain_name}"
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
resource "linode_rdns" "this_ipv6" {
|
||||||
|
address = element(split("/", linode_instance.this.ipv6), 0)
|
||||||
|
rdns = "${var.host_name}.${var.domain_name}"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user