Files
terraform-provider-binarylane/docs/resources/server_reverse_name.md
T
unkin-agent f42c218d98
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
Add binarylane_server_reverse_name resource for IPv4 PTR records
2026-10-12 00:46:36 +11:00

1.5 KiB

page_title, subcategory, description
page_title subcategory description
binarylane_server_reverse_name Resource - terraform-provider-binarylane Manage the reverse name (PTR record) for a public IPv4 address of a BinaryLane server. Destroying this resource clears the custom reverse name, restoring the BinaryLane default.

binarylane_server_reverse_name (Resource)

Manage the reverse name (PTR record) for a public IPv4 address of a BinaryLane server. Destroying this resource clears the custom reverse name, restoring the BinaryLane default.

Example Usage

resource "binarylane_server" "example" {
  # ...
}

resource "binarylane_server_reverse_name" "example" {
  server_id    = binarylane_server.example.id
  ipv4_address = binarylane_server.example.public_ipv4_addresses.0
  reverse_name = "mx1.example.com"
}

Schema

Required

  • ipv4_address (String) The public IPv4 address to set the reverse name for.
  • reverse_name (String) The reverse name (PTR record) for the IPv4 address.
  • server_id (Number) The ID of the server the IPv4 address is assigned to.

Read-Only

  • id (String) The ID of this resource, in the format <server_id>:<ipv4_address>.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

terraform import binarylane_server_reverse_name.example "<server id>:<ipv4 address>"