DNS RECORD CHECKER

DNS lookup: see the records behind any domain

Enter a domain name to see its A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records, like running nslookup or dig without opening a terminal.

Domain name
The basics

What does a DNS lookup do?

The Domain Name System (DNS) is the internet's phone book. Computers talk to each other using IP addresses, but people remember names like example.com. When you type a name into a browser, a DNS resolver finds the matching records and hands your device the address to connect to.

A DNS lookup (often called nslookup or dig on the command line) asks that same question on demand and shows you every answer. It is the first thing to check when a website will not load, email is bouncing, or you have just pointed a domain at a new server.

This tool sends your query as DNS-over-HTTPS to Cloudflare's public resolver (1.1.1.1) and falls back to Google Public DNS, so it works from any browser with nothing to install.

Record types

DNS record types explained

Each record answers a different question about a domain.

A and AAAA

Map a name to an IP address. A records hold IPv4 addresses and AAAA records hold IPv6 addresses. A domain can have several of each for load balancing.

CNAME

An alias that points one name at another, such as www.example.com pointing to example.com. A CNAME cannot sit on the bare domain next to other records.

MX

Tells the world which servers accept email for the domain. Each MX record has a priority: the lowest number is tried first, and higher numbers are backups.

NS

Lists the authoritative name servers that hold the domain's DNS zone. If these are wrong, nothing else in the zone will resolve.

TXT

Free-form text used to prove ownership and secure email: SPF (who may send mail), DKIM keys, DMARC policy, and domain-verification codes for services like Google Workspace.

SOA

The zone's start of authority: the primary name server, the admin contact, and the refresh and retry timers that secondary servers follow.

CAA

Limits which certificate authorities may issue SSL/TLS certificates for the domain, which helps prevent mis-issued certificates.

Troubleshooting

Common reasons to run a DNS lookup

  • A website will not load. Check the A or AAAA record. No answer, or an unexpected address, points to a DNS problem rather than a server problem.
  • Email is not arriving. Look at the MX records, then the TXT records for SPF and DMARC. Missing or duplicate SPF records are a very common cause of rejected mail.
  • You changed hosts. After updating DNS, look up the record to see what public resolvers now return. The TTL column shows how many seconds resolvers may keep serving the cached answer.
  • You are verifying a service. Many platforms ask you to add a TXT or CNAME record. A lookup confirms it is live before you click "verify".
  • Security review. Check CAA, NS and TXT records for anything you do not recognise.

Need the reverse direction? Use the reverse DNS lookup to find the hostname behind an IP, or WHOIS to see who registered the domain.

FAQ

Frequently asked questions

What is a DNS lookup?

A DNS lookup asks the Domain Name System for the records published for a domain, such as its IP addresses, mail servers and name servers. It is the same query your browser makes every time you visit a website.

Is this the same as nslookup or dig?

It answers the same questions. nslookup and dig run in a terminal and query the DNS server your computer is configured to use. This tool runs in your browser and queries public resolvers (Cloudflare, with Google as a fallback), so it shows what the wider internet sees rather than your local cache.

Why do I see different results than on my own computer?

Resolvers cache answers for the length of each record's TTL, and some networks use split-horizon DNS that returns different answers inside and outside the office. If you just changed a record, your resolver may still be serving the old value until the TTL expires.

How long do DNS changes take to update?

It depends on the TTL of the old record. A TTL of 3600 means resolvers may cache it for up to an hour. Name server changes at the registrar can take longer, often several hours and occasionally up to 48 hours.

How do I check a domain's MX records?

Enter the domain, choose MX from the record type menu, and press Look up. The server with the lowest priority number receives mail first; the others are fallbacks.

Can I look up an IP address here?

No, this tool is for domain names. To find the hostname for an IP address use the reverse DNS lookup, or the IP lookup for its location and ISP.

Guides

Read more