A data source that retrieves information about a Vultr Reverse IPv4 DNS record based on specified filters.
Get information about a Vultr Reverse IPv4.
Get the information for an IPv4 reverse DNS record by reverse
:
data "vultr_reverse_ipv4" "my_reverse_ipv4" {
filter {
name = "reverse"
values = ["host.example.com"]
}
}
The following arguments are supported:
filter
- (Required) Query parameters for finding IPv4 reverse DNS records.The filter
block supports the following:
name
- Attribute name to filter with.values
- One or more values to filter with.The following attributes are exported:
instance_id
- The ID of the instance the IPv4 reverse DNS record was set for.ip
- The IPv4 address in canonical format used in the reverse DNS record.reverse
- The hostname used in the IPv4 reverse DNS record.gateway
- The gateway IP address.netmask
- The IPv4 netmask in dot-decimal notation.
No comments yet.