DNS record types
The Domain Name System (DNS) turns names such as example.com into the data computers need to reach them. That data is kept in records, and each record type holds one kind of answer.
| Type | What it holds | Example |
|---|---|---|
| A | The IPv4 address of the name | 203.0.113.10 |
| AAAA | The IPv6 address of the name | 2001:db8::10 |
| CNAME | Another name this one is an alias of | www.example.com → example.com |
| MX | The mail servers of the domain, each with a priority | 10 mail.example.com |
| NS | The name servers that hold the domain's records | ns1.example.net |
| TXT | Free text, used for SPF, DKIM and site verification | v=spf1 -all |
| SOA | The main name server, the admin contact and the zone timers | ns1.example.net admin.example.com … |
| CAA | Which certificate authorities may issue certificates for the domain | 0 issue "letsencrypt.org" |
| PTR | The name an IP address points back to (reverse DNS) | 8.8.8.8 → dns.google |
How this DNS lookup works
When you press Look up, your browser sends the query to Google Public DNS (dns.google) over HTTPS. If that resolver cannot be reached, it tries Cloudflare DNS (cloudflare-dns.com). The request goes from your browser to the resolver; we do not receive or store the names you look up.
The resolver answers from its cache when it has a fresh copy and asks the domain's own name servers when it does not. The TTL column shows how many seconds the resolver will keep that answer before it asks again.
TTL, and why DNS changes take time
Every record has a time to live (TTL), set by the domain owner. Resolvers around the world keep a record for that long. After you change a record, each resolver keeps giving the old answer until its copy runs out.
That is why a change can look finished from one network and not from another. With a TTL of 300 the wait is about five minutes; with 86400 it can be a day. Lower the TTL a day before a planned change.
Does a domain support IPv6?
Look up the domain and check for AAAA records. One or more IPv6 addresses means the site is published over IPv6. No AAAA record means it can only be reached over IPv4.
This matters when you choose proxies: IPv6 proxies reach only sites that have an AAAA record.
See IPv6 proxy plans →Test your own IPv6 connection →
DNS when you use a proxy
With an HTTP proxy, or a SOCKS5 proxy written as socks5h://, the proxy looks up host names for you. Large sites return different addresses in different regions, so the proxy gets the servers nearest to it, which is what you want when you check a site from another country.
With socks5:// your own machine does the lookup and sends the proxy an IP address. The site may then answer from servers near you, not near the proxy.
DNS lookup from the command line
dig and nslookup ask your system's resolver. Add @8.8.8.8 to dig to ask Google Public DNS, the resolver this page uses first.
# Address records dig example.com A +short dig example.com AAAA +short # Mail servers, name servers and text records dig example.com MX +short dig example.com NS +short nslookup -type=TXT example.com # Reverse DNS of an IP address dig -x 8.8.8.8 +short
