dns_ptr_record_set
Use this data source to get DNS PTR record set of the ip address.
Example Usage
data "dns_ptr_record_set" "hashicorp" { ip_address = "8.8.8.8" } output "hashi_ptr" { value = "${data.dns_ptr_record_set.hashicorp.ptr}" }
Argument Reference
The following arguments are supported:
-
ip_address
- (required): IP address to look up
Attributes Reference
The following attributes are exported:
NOTE: Only the first result is taken from the query.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/dns/d/dns_ptr_record_set.html