Free · Instant · No signup

DNS lookup.
Check any domain's records.

Look up A, AAAA, MX, TXT, CNAME, NS, SOA and CAA records, run reverse DNS, and check SPF and DMARC in seconds.

Domain or IP address
Record type
Quick checks & resolver
Enter an IP address and the tool runs a reverse (PTR) lookup automatically.
Enter a domain above to see its DNS records.

How to look up DNS records

Three steps, no account.

Enter a domain

Type a domain such as example.com, or an IP address for a reverse lookup.

Pick a record type

Choose ALL for an overview, or one type such as MX or TXT. Choose Google or Cloudflare DNS.

Read and copy

See each value with its TTL, check the status and DNSSEC flag, then click a record to copy it.

Built for real work

Everything you need to debug a domain.

All major recordsA, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV and PTR.
Email checksOne-click SPF and DMARC lookups, with TXT records labelled.
Two resolversCompare answers from Google and Cloudflare public DNS.
Status & DNSSECSee NXDOMAIN, SERVFAIL and whether the answer was validated.
Updated November 2026

What is a DNS lookup?

A DNS lookup asks the Domain Name System (DNS) for the records stored for a domain name. DNS is the internet's phone book: it turns a name like example.com into the data computers need, such as the IP address of a website or the servers that receive its email.

This free DNS lookup tool queries public DNS resolvers and shows you the A, AAAA, CNAME, MX, NS, TXT, SOA and CAA records for any domain. You can also run reverse DNS on an IP address, and check SPF and DMARC with one click.

About your privacy: to get an answer, the name you enter is sent to the resolver you choose (Google Public DNS or Cloudflare DNS) over HTTPS. Do not look up names you want to keep private.

DNS record types explained

TypePurposeExample value
AMaps a name to an IPv4 address93.184.216.34
AAAAMaps a name to an IPv6 address2606:2800:220:1::1
CNAMEMakes one name an alias of anotherwww → example.com
MXMail servers, with a priority (lower is tried first)10 mail.example.com
NSThe authoritative name servers for the domainns1.dnshost.com
TXTFree text: SPF, DKIM, DMARC, ownership proofsv=spf1 include:_spf.google.com ~all
SOAZone details: primary server, admin email, serial, timersns1.dnshost.com admin.example.com 2026111901 …
CAAWhich certificate authorities may issue certificates0 issue "letsencrypt.org"
SRVHost and port of a service10 5 5060 sip.example.com
PTRReverse DNS: IP address back to a namedns.google

How does DNS resolution work?

  1. Your device asks a recursive resolver (your ISP's, or one like Google or Cloudflare) for the record.
  2. If the answer is not cached, the resolver asks a root server, which points to the servers for the top-level domain, such as .com.
  3. The TLD servers point to the domain's authoritative name servers.
  4. The authoritative server returns the record, and the resolver caches it for the record's TTL and passes it to you.

SPF, DKIM and DMARC records

These three TXT-based records protect your domain's email from spoofing and help your messages reach the inbox.

  • SPF lists the servers allowed to send email for your domain. It is a TXT record on the domain starting with v=spf1. A domain should have only one SPF record.
  • DKIM publishes a public key at selector._domainkey.yourdomain.com. Receivers use it to check that a message was signed by your domain.
  • DMARC tells receivers what to do when SPF and DKIM fail, and where to send reports. It is a TXT record at _dmarc.yourdomain.com starting with v=DMARC1.

Use the SPF and DMARC buttons above to check yours. For DKIM, type the full name, for example google._domainkey.example.com, and choose TXT.

DNS response status codes

StatusMeaningWhat to do
NOERRORThe query worked. There may be zero records of that type.If a record is missing, add it at your DNS host.
NXDOMAINThe domain name does not exist.Check the spelling and that the domain is registered.
SERVFAILThe resolver could not get a valid answer.Check name servers and DNSSEC settings.
REFUSEDThe server refused to answer.Check the name server configuration.

TTL and DNS propagation

TTL (time to live) is the number of seconds a resolver may cache a record. After you change a record, resolvers that cached the old value keep serving it until its TTL runs out. This delay is often called DNS propagation. It is not a single event, only caches expiring at different times.

  • Lower the TTL (for example to 300 seconds) a day before a planned change, then raise it again afterward.
  • Look up the record with both Google and Cloudflare to see whether caches differ.
  • The TTL shown in the result is the time left in the resolver's cache, so it counts down between lookups.

DNS lookup on the command line

ToolCommand
dig (macOS, Linux)dig example.com MX +short
nslookup (Windows, all)nslookup -type=TXT example.com
host (macOS, Linux)host -t NS example.com
Reverse lookupdig -x 8.8.8.8 +short

Common DNS problems and fixes

  • Website does not load after a change: check the A or CNAME record, then wait for the old TTL to expire.
  • Email not arriving: check the MX records exist and point to the right servers, and that there is no typo in the host name.
  • Email going to spam: check SPF, DKIM and DMARC. Make sure you have only one SPF record.
  • CNAME at the root domain: a CNAME cannot sit beside other records, so it is not allowed on the root. Use an A record or your host's alias feature.
  • SSL certificate not issuing: check CAA records. If they exist, they must allow your certificate authority.

Need other utilities? Browse all developer tools, try the IP address lookup, JWT generator and regex tester.

FAQs

What is a DNS lookup?

A DNS lookup asks the Domain Name System for the records stored for a domain, such as the IP address of its website or the servers that handle its email. It turns human-friendly names into the data computers need.

What is an A record?

An A record points a domain name to an IPv4 address. An AAAA record does the same for an IPv6 address.

What is an MX record?

An MX record names the mail servers that accept email for a domain. Each has a priority number, and lower numbers are tried first.

What is a TXT record used for?

TXT records hold text data. They are widely used for email security (SPF, DKIM and DMARC) and for proving you own a domain to services such as Google and Microsoft.

What does NXDOMAIN mean?

NXDOMAIN means the domain name does not exist in DNS. Check the spelling, and check that the domain is registered and its name servers are set correctly.

What is TTL in DNS?

TTL (time to live) is how many seconds resolvers may cache a record before asking again. A low TTL makes changes show up faster, and a high TTL reduces lookups.

Why do my DNS changes not show yet?

Resolvers cache old answers until the TTL expires, so changes can take minutes or hours to appear everywhere. This is often called DNS propagation. Lower the TTL before a planned change.

How do I check SPF and DMARC?

Look up the TXT records for the domain and find the one starting with v=spf1 for SPF. For DMARC, look up the TXT record at _dmarc followed by your domain. This tool has a shortcut button for each.

What is reverse DNS?

Reverse DNS maps an IP address back to a hostname using a PTR record. Enter an IP address in the box and the tool runs it for you.

Is this DNS lookup free?

Yes. It is free, needs no signup and works on phones, tablets and computers. Your query is sent to Google or Cloudflare DNS to get the answer.

More tools

Related developer, image and PDF tools.

See developer tools →

Need a tool we don't have yet?

Tell us what you need and we will add it to the list.

Contact us