NavigationContentFooter
Suggest an edit
Was this page helpful?

Setting a reverse IPv6 DNS record via the IPAM API

Reviewed on 19 March 2025Published on 19 March 2025

The Scaleway console allows you to configure reverse DNS for flexible IP addresses.

For IPv4 addresses, the console functionality is convenient. However, for IPv6 addresses the console only allows you to configure a single reverse DNS record for the entire /64 block, and not individual addresses within the block.

You can solve this problem by using the IPAM API to set reverse DNS for individual addresses within your IPv6 block. IPAM is Scaleway’s IP Address Manager tool, which acts as a single source of truth for all Scaleway IP addresses.

Before you startLink to this anchor

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • A public IPv6 address for an IPAM-compatible Scaleway resource (e.g an Instance)

Use the update an IP call to set the reverse of the desired IPv6 addresses. An example call is shown below. Replace <ip-id> with your flexible IPv6 address’s IP ID, and modify the payload according to the domains and addresses you want to configure.

Tip

To find the IP ID for your address, use the IPAM: List IPs call.

curl -X PATCH \
-H "X-Auth-Token: $SCW_SECRET_KEY" \
-H "Content-Type: application/json" \
"https://api.scaleway.com/ipam/v1/regions/fr-par/ips/{ip_id}" \
-d '{
"reverses":[
{
"hostname":"reverse1.example.com",
"address":"2001:db8::1"
},
{
"hostname":"reverse2.example.com",
"address":"2001:db8::2"
},
{
"hostname":"reverse3.example.com",
"address":"2001:db8::3"
}
]
}'
Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2025 – Scaleway