A public IPv6 network is available and attached to your Vultr Cloud Compute instance after deployment unless disabled by default. You can manage the IPv6 address information on an instance and enable reverse DNS on the public networking interface.
Follow this guide to manage the IPv6 information on a Vultr Bare Metal instance using the Vultr Customer Portal, API, CLI, or Terraform.
Send a GET
request to the List Bare Metal Instances endpoint and note the target instance's ID in your output.
$ curl "https://api.vultr.com/v2/bare-metals" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a GET
request to the Bare Metal IPv6 Addresses endpoint to view the instance's IPv6 information.
$ curl "https://api.vultr.com/v2/bare-metals/{baremetal-id}/ipv6" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
List all Bare Metal instances in your Vultr account and note the target instance's ID.
$ vultr-cli bare-metal list
List the instance's IPv6 network information.
$ vultr-cli bare-metal ipv6 <instance-id>
Terraform can enable or disable IPv6 for a Bare Metal instance at creation time. Managing existing IPv6 addresses or reverse DNS records after deployment is not supported directly in Terraform and must be done through the Vultr Customer Portal, API, or CLI.
Open your Terraform configuration for the existing Bare Metal instance.
Enable IPv6 on the instance and (optionally) set reverse DNS.
# Enable IPv6 on the instance
resource "vultr_bare_metal_server" "bm1" {
# ...existing fields (region, plan, os_id, label, etc.)
enable_ipv6 = true
}
# Optional: set reverse DNS for the instance's primary IPv6
# (v6 address is known after the instance exists)
resource "vultr_reverse_ipv6" "bm1_ptr" {
ip = vultr_bare_metal_server.bm1.v6_main_ip
reverse = "host.example.com."
}
Apply the configuration and observe the following output:
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
No comments yet.