DNS

Generated on 18 Mar 2026

Each Droplet's network configuration contains the IP addresses of DNS resolvers that the Droplet uses to locate and connect to hostnames on the internet.

Base URL http://169.254.169.254

GET Get DNS Attributes Index

/metadata/v1/dns

An index of DNS attributes.

curl -X GET \
  "http://169.254.169.254/metadata/v1/dns"

Responses

200

Success

nameservers

GET Get DNS Nameservers

/metadata/v1/dns/nameservers

The nameserver entries that are added to a Droplet's /etc/resolv.conf file during creation.

curl -X GET \
  "http://169.254.169.254/metadata/v1/dns/nameservers"

Responses

200

Success

2001:4860:4860::8844
2001:4860:4860::8888
8.8.8.8

We can't find any results for your search.

Try using different keywords or simplifying your search terms.