DNS lookup

Type a domain to see its DNS records as a public resolver answers them right now. Use it to check that a domain points to your server after a move, or that mail and certificate records are right.

A domain or subdomain such as example.com or mail.example.com. A pasted address works too.
Record type
Records Enter a domain and press Look up. The answer comes straight from a public resolver, so it shows what visitors see now.

Moving a site to a server of its own? Point the A record at the new server's address, and keep the TTL short while you switch. From €4.46 a month today, among 2,132 servers.

The name you look up is sent to Cloudflare's public resolver (1.1.1.1) over HTTPS. We do not store it.

How the lookup works

Your browser asks our server, which asks Cloudflare's public resolver over HTTPS. The resolver follows the domain's delegation to its name servers and returns their records. TTL is how long resolvers may keep an answer before they ask again.

What each record does

AThe IPv4 address the name points to: your server.
AAAAThe IPv6 address the name points to.
CNAMEAn alias: this name has the records of another name.
MXThe mail servers that receive e-mail for the domain, lowest number first.
NSThe name servers that hold the domain's records.
TXTFree text: SPF, DKIM and DMARC for mail, and site verification codes.
CAAWhich certificate authorities may issue TLS certificates for the domain.
SOAThe zone's main name server, contact and timers.

After you change a record, resolvers that asked before keep the old answer until its TTL runs out. Lower the TTL a day before a server move, and changes then spread in minutes.

Example

You move example.com to a new VPS at 203.0.113.10. Change its A record at your DNS host, then look up example.com here: when the A record shows 203.0.113.10, Cloudflare's resolver already sends visitors to the new server. Look up www.example.com too, which often has a record of its own.

Questions

How long does DNS propagation take?

As long as the old record's TTL, at most. Resolvers keep an answer for its TTL and then ask again, so a record with a TTL of 3600 seconds reaches everyone within an hour. Changing the name servers themselves can take up to two days, because the TTL of the delegation at the registry is longer.

What is the difference between an A record and a CNAME?

An A record holds an IP address. A CNAME says the name is an alias of another name and takes all its records from there. The bare domain (example.com) cannot be a CNAME, so it needs an A record; www often is a CNAME.

How do I check the MX records of a domain?

Choose MX and look up the domain, not the mail server: example.com, not mail.example.com. Mail is delivered to the server with the lowest number first. Check the TXT records too: SPF, DKIM and DMARC decide whether other providers trust that mail.

Why does the lookup show a different address than my computer?

Your computer or network may still keep an older answer, or use a hosts file entry. This tool asks a public resolver, so it shows what most visitors get. Flush your local cache, or wait for the old TTL to run out.