1. Home
  2. Developer
  3. DNS Lookup

DNS Lookup

See a domain's DNS records by type, with SPF, DMARC and DKIM values explained.

For every format and option in one place, use Network Diagnostics →

Server lookup · only the address you type is sent, nothing is stored
The domain name you type is sent to a server for the DNS lookup and is not stored. Lookups only run when you press a button.
Enter something like example.com. If you paste a URL, only the domain is used.
Email authentication check also reads the DKIM key at selector._domainkey.domain. Example: google, selector1
Requests may be limited briefly when too many arrive. Look up all sends 8 queries and the email check sends 2 or 3.

How to use

  1. Type a domain such as example.com. You can also paste a URL or user@example.com, and only the domain part is used.
  2. Pick a record type and press Look up. To see everything at once, press Look up all, which fetches A, AAAA, CNAME, MX, NS, TXT, SOA and CAA together.
  3. Read the name, type, TTL and value in the results table. Each TTL shows the number of seconds plus a readable form such as “5 min”.
  4. Use Copy results to take away tab-separated text that looks like dig output.

To check email setup, press Check email authentication. It reads the domain’s TXT (SPF) and the TXT at the _dmarc host (DMARC) in one go, and if you fill in a DKIM selector it also reads selector._domainkey.domain.

Record types

Type What it holds Check it when
A IPv4 address You want to know which server a site points to
AAAA IPv6 address You want to know if the site is reachable over IPv6
CNAME An alias to another name You want to see if www is wired to a CDN or host
MX Mail servers and their priority Mail is not arriving, or after changing mail provider
NS The name servers that serve the domain After changing name servers
TXT Free text (SPF, DMARC, ownership proofs) Email authentication, domain verification for a service
SOA Primary name server, admin, serial, timers Checking zone settings
CAA Which authorities may issue certificates A certificate request is refused

SRV, DS, DNSKEY and HTTPS can also be looked up one at a time from the list.

Reading the result

  • Status is the code returned by the DNS server. NOERROR with no answer means the name exists but has no record of that type. NXDOMAIN means the domain does not exist. SERVFAIL means the domain’s DNS failed to answer.
  • TTL is how long other DNS servers may remember the value. 3600 is one hour and 86400 is one day. If you changed a record and still see the old one, you may need to wait out the previous TTL.
  • DNSSEC: an AD (Authenticated Data) flag means signature validation passed. A missing flag is not necessarily a problem, because it covers both domains that do not use DNSSEC and answers that could not be validated.

TXT records explained

When a TXT value is SPF, DMARC, DKIM or a service ownership proof, it is explained term by term. For example, v=spf1 ip4:203.0.113.0/24 include:_spf.google.com mx ~all reads like this.

Term Meaning
ip4:203.0.113.0/24 Mail sent from IPv4 203.0.113.0/24 passes
include:_spf.google.com Servers allowed by the SPF of _spf.google.com also pass
mx The domain’s own mail servers (MX) also pass
~all Every other server is suspicious (softfail)

SPF ends in an error when it needs more than 10 DNS lookups, and also when a domain has more than one SPF record. The DMARC explanation covers what the policy (p) means and whether the report address (rua) is missing. The DKIM explanation shows the public key length and flags revoked keys (an empty p value). To write SPF and DMARC values yourself, use the DMARC & SPF generator.

What is sent to the server, and limits

  • Only the domain name you typed and the record type are sent to the server. Lookups and results are not stored.
  • A lookup runs only when you press a button. There is a request limit, so pressing Look up all (8 queries) or the email check (2 or 3) repeatedly may be paused briefly.
  • The server only fetches public DNS answers. Internal company DNS and private zones cannot be looked up.
  • This is not a tool for repeated lookups meant to load someone else’s service, or for automation.

FAQ

I changed my DNS but the lookup still shows the old value.

Other DNS servers keep the old value for the length of the TTL. If the table shows a TTL of 3600, the old value can remain visible for up to an hour. If you changed the name servers (NS) altogether, the parent zone can take longer to update.

It says there is no MX record. Can mail still be delivered?

Without an MX, the default behavior of internet mail is to treat the domain’s A record as the mail server and try to deliver there. For reliable mail, though, it is better to publish an MX. A domain that accepts no mail at all often sets its MX to 0 ..

It found an SPF record but warns there are several.

A domain must have exactly one SPF record. Adding a new TXT every time you add a mail service ends up with two or more, and the check fails with an error. Merge them by chaining include: terms inside one record.

Where do I look up a DKIM key?

It lives in the TXT at selector._domainkey.domain. The selector differs by mail service (Google Workspace usually uses google). Enter it in the DKIM selector box and press Check email authentication.

Is an empty CNAME result strange?

No. The bare domain (example.com) usually cannot hold a CNAME, and most domains only use CNAME on names such as www. “No records” is a normal answer.

The domain you type is sent to a server only for the DNS lookup and is never stored.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.