DNS Lookup

Look up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records.

FreeNo sign-upUses public DNS data
Loading tool…

A DNS lookup asks the Domain Name System for the records a domain publishes, such as the IP address of its website (A and AAAA), its mail servers (MX) and its text records (TXT). This tool queries Cloudflare's public resolver, 1.1.1.1, over encrypted DNS-over-HTTPS.

Record types

TypeWhat it holds
AIPv4 address of the domain
AAAAIPv6 address
CNAMEAn alias that points to another name
MXMail servers, with priority
TXTFree text, used for SPF, DKIM, DMARC and site verification
NSThe name servers in charge of the domain
SOAThe zone's admin data: primary server, serial and timers
CAAWhich certificate authorities may issue SSL certificates

TTL

The TTL (time to live) says how many seconds resolvers may cache a record. When you plan a change, lower the TTL a day ahead so the switch spreads quickly, then raise it again afterwards.

DNSSEC

DNSSEC adds signatures to DNS records so resolvers can detect forged answers. When the resolver validates the signatures, we show "DNSSEC validated".

DNSSEC is turned on at your DNS host and needs a DS record at your registrar. Many large sites still do not use it.

Security uses of DNS lookups

  • Check that SPF, DKIM and DMARC records are published as you expect.
  • Confirm a CAA record limits who can issue certificates for your domain.
  • Spot dangling CNAMEs that point to services you no longer use. Attackers can take these over.
  • Look up the domains in a suspicious link before you click it.

For SPF records in particular, the SPF checker goes further and counts DNS lookups.

Why results may differ from your computer

Resolvers cache records for the TTL. If you just changed a record, your computer or provider may still show the old value until it expires.

Frequently asked questions

Which DNS server does this tool use?

Cloudflare's public resolver (1.1.1.1), queried over DNS-over-HTTPS from your browser.

Why do I see an old record after changing it?

Resolvers cache records until the TTL runs out. Wait for the old TTL to pass, or lower TTLs before future changes.

What is a CAA record?

It lists the certificate authorities allowed to issue certificates for your domain. Authorities must check it before issuing.

Can I look up a subdomain?

Yes. Enter the full name, such as mail.example.com or _dmarc.example.com.