Creates a PTR record (reverse record) in Address Manager with a specific IP address and host record.
Attributes
Attribute | Required/Optional | Description | Example |
---|---|---|---|
configuration | Optional | The name of the BlueCat Configuration to be used for the PTR record. If this is not supplied, the Gateway default configuration name is used. | terraform_demo |
view | Optional | The view that contains the details of the zone. If this is not supplied, the Gateway default view name is used. | Internal |
zone | Required | The zone that contains the host to be updated. | bluecatnetworks.com |
name | Required | The name of the host record. | webapp.bluecatnetworks.com |
ip4_address | Required | The IPv4 address that is created for the PTR record. | 10.0.0.12 |
reverse_record | Required | A boolean value that defines whether to create a reverse record for the pass host | True |
ttl | Optional | The TTL value of the record. The default value is -1. | 300 |
Example of a PTR Record resource
resource "bluecat_ptr_record" "ptr_record" {
configuration = "terraform_demo"
view = "example"
zone = "gateway.com"
name = "host30"
ip4_address = "30.0.0.30"
reverse_record = True
ttl = 1
}