NathanTools

DNS Lookup

Enter a domain to see all its DNS records at once, or an IP address for its reverse DNS name. Switch resolvers to check propagation.

100% free No sign-up Works on any device

Report a bug

DNS Lookup

Try:
Enter a domain to see its A, AAAA, CNAME, MX, NS, TXT, SOA, CAA and DMARC records, or an IP address for reverse DNS.

Updated November 2026 · Queries public DNS resolvers directly from your browser

How to look up DNS records

  1. Enter a domain such as example.com. You can paste a full URL; the tool keeps only the host name. Enter an IP address instead to find its reverse DNS (PTR) name.
  2. Press Look up. A, AAAA, CNAME, MX, NS, TXT, SOA, CAA and DMARC records are fetched at once; the number on each tab shows how many records were found.
  3. Switch the resolver between Google and Cloudflare to compare answers. If they differ, a recent change is still spreading.
  4. Copy a single value with its copy button, or press Copy all to get every record in zone-file style.

DNS record types

TypeWhat it doesExample value
APoints the name to an IPv4 address203.0.113.10
AAAAPoints the name to an IPv6 address2001:db8::10
CNAMEMakes the name an alias of another name (not allowed at the root domain)shops.myshopify.com.
MXMail servers for the domain; the lower number is tried first1 smtp.google.com.
NSName servers that hold the domain's recordsns1.cloudflare.com.
TXTFree text: SPF, domain verification and other settingsv=spf1 include:_spf.google.com ~all
SOAStart of authority: primary name server, admin contact, serial number and timersns1.example.com. admin.example.com. 2026111401 …
CAACertificate authorities allowed to issue SSL/TLS certificates0 issue "letsencrypt.org"
DMARCA TXT record at _dmarc. that tells receivers what to do with mail failing SPF/DKIMv=DMARC1; p=quarantine; rua=mailto:…
PTRReverse DNS: the name for an IP addressdns.google.

Checking email DNS: SPF, DKIM and DMARC

Most email delivery problems come down to three DNS records. Since 2024, Gmail and Yahoo require bulk senders to have all three, and every sender needs at least SPF or DKIM.

  • SPF lives in a TXT record on the domain itself and starts with v=spf1. A domain should have exactly one; two SPF records make both invalid. The TXT tab marks it for you.
  • DKIM is a TXT record at selector._domainkey.example.com. The selector (such as google or s1) depends on your email provider, so enter that full name above to check it.
  • DMARC is a TXT record at _dmarc.example.com. The DMARC tab looks it up automatically. Start with p=none to monitor, then move to quarantine or reject.

DNS propagation and TTL

When you change a record, resolvers around the world keep serving the old answer until its TTL (time to live, in seconds) runs out. A TTL of 3600 means up to an hour; changing name servers at your registrar can take 24–48 hours because the parent zone's records have long TTLs. To check whether a change has spread, look the domain up with both resolvers above. If both show the new value, most of the internet will too. To make future changes faster, lower the TTL to 300 a day before you edit the record.

Look up DNS from the command line

TaskWindowsmacOS / Linux
A recordnslookup example.comdig example.com A +short
MX recordsnslookup -type=mx example.comdig example.com MX +short
Ask a specific resolvernslookup example.com 1.1.1.1dig @1.1.1.1 example.com
Reverse lookupnslookup 8.8.8.8dig -x 8.8.8.8 +short
Clear local DNS cacheipconfig /flushdnsmacOS: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Want to know which address your own connection uses? See what is my IP address.

Frequently asked questions

Type the domain above and press Look up. The tool asks a public DNS resolver for every common record type at once and shows the results on tabs: A and AAAA for the website's address, MX for email, NS for the name servers and TXT for SPF and verification codes.

Resolvers cache the old answer until its TTL expires, which is often 1 hour and can be up to 48 hours after a name server change. Check with both Google and Cloudflare above; if one shows the new value, the change is spreading. Also make sure you edited the zone at the provider your NS records point to.

Either the website is on a subdomain such as www (look up www.example.com), the name is an alias with a CNAME instead, or no website is set up. A missing A record doesn't affect email, which uses MX records.

No. If there are two TXT records starting with v=spf1, receivers treat SPF as broken (a permanent error). Merge them into one record with several include: entries.

Reverse DNS turns an IP address back into a host name using a PTR record. Mail servers check it to judge whether a sending server is legitimate. Enter an IP address above to look it up. The PTR record is set by whoever owns the IP range, usually your hosting provider.

Your browser sends the query directly to the resolver you choose (Google Public DNS or Cloudflare 1.1.1.1) over HTTPS. It doesn't pass through our server, and we don't log the domains you look up.

Comments

No comments yet.

Share this tool

DNS Lookup

Favorites

Drag to reorder, or use the arrows. Categories and the tools inside them can both be moved.

Saved in this browser. Sign in to keep them on every device.

Esc
↑ ↓ to moveEnter to open