Creates a PTR type DNS record.
resource "dns_ptr_record" "dns-sd" {
zone = "example.com."
name = "r._dns-sd"
ptr = "example.com."
ttl = 300
}
ptr
(String) The canonical name this record will point to.zone
(String) DNS zone the record set belongs to. It must be an FQDN, that is, include the trailing dot.name
(String) The name of the record. The zone
argument will be appended to this value to create the full record path.ttl
(Number) The TTL of the record. Defaults to 3600
.id
(String) Always set to the fully qualified domain name of the record.Import is supported using the following syntax:
# Import using the FQDN.
terraform import dns_ptr_record.dns-sd r._dns-sd.example.com.