DNS Lookup

Check the DNS records of any domain: where it points, where its mail goes and which name servers answer for it.

Examples:

Your browser sends the domain name to Cloudflare's public DNS resolver, or to Google's if the first does not answer. They see the name and your IP address, as any DNS resolver does. We do not receive or store what you look up.

Advertisement

What a DNS lookup tells you

The Domain Name System turns names such as example.com into the addresses and settings computers need. Each fact is stored as a record. A DNS lookup asks a resolver for those records and shows the answer.

Use it to confirm that a domain points to the right server, to check that email is set up, or to see whether a change you made has taken effect.

Record types

TypeWhat it holdsTypical use
AAn IPv4 addressWhere the website lives
AAAAAn IPv6 addressThe same, for IPv6
CNAMEAnother nameAn alias, such as www pointing to the main name
MXA mail server and a priorityWhere email for the domain is delivered
NSA name serverWhich servers hold the domain's records
TXTFree textSPF and DKIM for email, ownership checks
SOAZone detailsPrimary server and timing values
CAACertificate authoritiesWho may issue certificates for the domain

How to read the result

  • Value: the content of the record. For MX records the number in front is the priority, and mail goes to the lowest number first.
  • TTL: how long resolvers may keep the answer before asking again. After you change a record, the old answer can linger for up to this long.
  • A CNAME followed by A records: the name is an alias, and the lookup followed it to the final addresses.
  • "This domain does not exist": the name is not registered, or you mistyped it.
  • No records of a type: the domain exists and has nothing of that type. A domain with no MX records receives no email.

Why your computer may show something else

This tool asks a public resolver. Your own computer asks the resolver your network provides and keeps its own cache, so it can hold an older answer for a while. See how to flush your DNS cache. Large sites also give different answers in different regions, to send you to a nearby server.

Questions

How long does a DNS change take?

Up to the TTL of the old record. Many records use five minutes to one hour. Name server changes at the registrar can take up to two days.

Can I find a website's IP address with this?

Yes. Look up the A and AAAA records, then paste an address into the IP address lookup to see who hosts it. How to find a website's IP address explains why the address often belongs to a delivery network.

Who owns a domain?

DNS does not say. Registration records do. Use the WHOIS lookup.

What is an SPF record?

A TXT record that begins with v=spf1 and lists the servers allowed to send email for the domain. Receiving servers use it to spot forged senders.

Advertisement