How to Manage IPv6 on a Vultr Bare Metal Instance
-
by Blog Admin
- 12
How to Manage IPv6 on a Vultr Bare Metal Instance
Learn how to configure and manage IPv6 networking on your Vultr Bare Metal server.
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.
Vultr Customer Portal
- Navigate to Products and click Compute.
- Click your target instance to open its management page.
- Navigate to the Settings tab.
- Click IPv6 on the left navigation menu to view your instance’s public IPv6 network information.
- Enter your IPv6 address in the IP field and a domain in the Reverse DNS field to enable reverse DNS on your instance.
Vultr API
- Send a
GET
request to the List Bare Metal Instances endpoint and note the target instance’s ID in your output.console$ 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.console$ curl "https://api.vultr.com/v2/bare-metals/{baremetal-id}/ipv6" \ -X GET \ -H "Authorization: Bearer ${VULTR_API_KEY}"
Vultr CLI
- List all Bare Metal instances in your Vultr account and note the target instance’s ID.
console
$ vultr-cli bare-metal list
- List the instance’s IPv6 network information.
console
$ vultr-cli bare-metal ipv6 <instance-id>
Terraform
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.
terraform
# 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.
How to Manage IPv6 on a Vultr Bare Metal Instance Learn how to configure and manage IPv6 networking on your Vultr Bare Metal server. 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…
How to Manage IPv6 on a Vultr Bare Metal Instance Learn how to configure and manage IPv6 networking on your Vultr Bare Metal server. 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…