dns lookupdns recordsmx recorddomain

How to Look Up a Domain's DNS Records

Look up a domain's A, AAAA, MX, TXT, NS, CNAME and SOA records, what each one means, and what to check when email or the website fails.

August 22, 2026·4 min read

You set up a domain's email and it doesn't arrive. You point the site to a new server and it keeps showing the old version. You add a subdomain and it doesn't resolve. In all three cases, the first step is to check what the domain's DNS returns right now, not what you think you configured. The DNS Lookup on this site runs that query for you.

What DNS is, in short

DNS translates domain names such as example.com into the information servers need: which IP address it points to, which server receives its email, and which servers are authoritative for the zone. That information is organized into records, each with a different type (RFC 1035). For the full picture, read how DNS works.

The most important record types

  • A: points the domain to an IPv4 address. It's the basic record: it defines where the site lives.
  • AAAA: same as A, but for IPv6.
  • MX (Mail Exchange): indicates which server receives the domain's email. If it points to the wrong server, email doesn't reach where you expect. If the domain has no MX, mail servers use the A record as the destination (RFC 5321, section 5.1).
  • TXT: free text. It is used to verify domain ownership and to configure SPF, which lists the servers allowed to send email on your behalf.
  • NS (Name Server): indicates which DNS servers are authoritative for the domain. If they point to servers that don't hold your zone, the other records don't resolve.
  • CNAME: makes a subdomain point to another name instead of an IP. It is common with third-party services, such as blog.example.com pointing to the blog provider.
  • SOA (Start of Authority): administrative data for the zone, such as the primary server and the refresh interval (RFC 1035).

How to look up a domain's DNS records

  1. Type the domain. If you paste a URL, the tool uses only its domain name.
  2. Click Analyze. The server queries A, AAAA, MX, TXT, NS, CNAME and SOA at the same time.
  3. Review each type. Up to five values are shown per type; the rest appear as "+N more".

The query is made by the tool's server against Cloudflare's DNS-over-HTTPS resolver (cloudflare-dns.com). You don't need to sign up to use the DNS Lookup.

Why "real time" isn't enough: DNS propagation

When you change a record, the change doesn't apply instantly across the internet. Resolvers keep a copy for the TTL (time to live), a number of seconds set in the record itself. According to RFC 1035, it is the interval during which the record may be cached before the source is consulted again.

So the lookup shows what the resolver returns at that moment. If the TTL hasn't expired there, you'll see the old value even if your registrar's panel already has the new one.

Common diagnostics with this tool

  • Email isn't arriving: check the MX record. If it points to the wrong server, that's the problem.
  • The site still shows old content after a hosting change: check the A record. If it still points to the previous IP, the change wasn't saved or the TTL hasn't expired yet.
  • A subdomain isn't working: check whether the corresponding CNAME or A record exists.
  • Email security: the TXT record with SPF is the first step. For DKIM and DMARC, use the email security checker, which queries SPF, DMARC and 12 DKIM selectors.

Frequently asked questions

Why do I see a different result than my domain provider shows? There may be propagation in progress, or a resolver with a cache from before the change. The registrar's panel shows what you saved; the lookup shows what a resolver returns at that moment.

Do I need to own the domain to look it up? No. Anyone can query a domain's public records.

What do I do if the NS is wrong? Fix it in your registrar's panel. Until the delegation points to the servers that host your zone, the other records won't be answered from them.

How long does a DNS change take to apply? It depends on each record's TTL: once it expires in caches, the change becomes visible. Check the TTL before changing the record, since it sets how long the change takes.


Look up any domain's DNS records for free with the DNS Lookup, with nothing to install.

Try it without code

DNS Lookup

DNS records: A, AAAA, MX, TXT, NS, CNAME, SOA.

Open DNS Lookup

Built by

Miguel Ángel Colorado Marin (MACM)

Full-Stack Developer · Guadalajara, España

I develop web apps, digital tools and full projects — from design to deployment.

Contact me