Understanding Scaleway DNS for VPC and Private Networks
Scaleway VPC and Private Networks integrate managed DNS, for the effective resolution of hostnames to IP addresses. Read on to find out more.
What is DNS?
The Domain Name System (DNS) is a naming system for devices connected to the internet or any network. Most prominently, DNS servers translate text-based domain names (e.g. www.scaleway.com) to numerical IP addresses (e.g. 51.158.66.220). This allows traffic to find its destination by resolving a human-readable text-based name, to the numerical IP addresses used by networks and servers.
Scaleway DNS overview
Scaleway Private Networks benefit from managed internal DNS. This allows the resolution of resources' hostnames on the Private Network, into their private IP addresses. This managed DNS service is automatically exposed in each Private Network and no user configuration is required.
Hostname format
A resource's hostname is equivalent to the name you gave the resource when creating it. The full format for internal addressing is <hostname>.<private-network-name>.internal
. For example, if you have an Instance with the name instance123
attached to a Private Network named prodpn
, its address on that network is instance123.prodpn.internal
.
DNS resolution details
The managed DNS resolver service is exposed on each Private Network through the following IP addresses:
- IPv4:
169.254.169.254
- IPv6:
fe80::200:22ff:fe05:ca1e
The service resolves both regular public records, as well as internal VPC records.
The DNS service resolves the following formats:
<resource_name>.<private-network_name>.internal
<resource_name>.<private-network_uuid>.internal
<resource_uuid>.<private-network_uuid>.internal
DNS cannot resolve or forward queries between different VPCs. It can only resolve hostnames for resources within the same VPC, though they may be on different Private Networks within that VPC.
Rate limiting
Currently, DNS requests are rate-limited to 50 requests per second per resource. Watch this space as we work to be able to increase this limit to accommodate higher traffic volumes.
Troubleshooting
If you experience problems with DNS, try the following steps:
-
Detach and reattach the affected resources from/to the Private Network. This is effective in solving many issues for older resources, or resources whose name you have changed.
-
Check resource hostname. Issues can arise if your resource has a dot in its name. Rename it if necessary to eliminate the dot, and detach/reattach it from the Private Network.
-
Check Private Network name. Issues can arise with Private Networks who share a name with a TLD. See our dedicated document for more help.
-
Check whether you are using Network Manager: DNS does not work out of the box for Linux distributions using Network Managed, such as RockyLinux. Find out how to resolve this problem on our troubleshooting page
If you are still having problems reaching a resource attached to a Private Network via its hostname, open a support ticket.