DNS lookup

Look up a domain's DNS records in real time.

Record types

NetCheck queries Google's public DNS resolver live (over DNS-over-HTTPS) and shows the answer as is. Each record type has a precise role:

TypeRoleExample value
AMaps the name to an IPv4 address203.0.113.10
AAAAMaps the name to an IPv6 address2001:db8::10
CNAMEMakes a name an alias of another namewww to example.com
MXNames the servers that receive email, with a priority10 mx1.example.com
TXTFree text: ownership proofs, SPF, DKIM, DMARCv=spf1 include:_spf.google.com ~all
NSThe name servers authoritative for the domainns1.provider.net
SOAThe zone's authority record: primary server, serial number, cache timers-
CAAThe authorities allowed to issue certificates for the domain0 issue "letsencrypt.org"

TTL, or why a change is not instant

Every DNS answer carries a TTL (time to live), in seconds. It is how long resolvers around the world may keep the answer in memory without asking again. A TTL of 3600 means a change may take up to an hour to be seen everywhere. Before a migration, lower the TTL to 300 (five minutes) the day before, make the change, then raise it again once everything is checked. To follow a change in progress, use the DNS Propagation tool.

Email: SPF, DKIM and DMARC

Most emails that land in spam can be explained by TXT records.

To read a DKIM or DMARC record, type the relevant subdomain directly, for example _dmarc.example.com, and choose the TXT type.

Common configuration mistakes

Reading an empty answer

“No records” does not necessarily mean something is wrong: many domains have no AAAA or CAA, and that is normal. However, a domain with neither A nor AAAA cannot serve a website, and a domain without MX cannot receive email. If the resolver says the domain does not exist (code 3, known as NXDOMAIN), check the spelling, then its status with the WHOIS tool.

nslookup online: the same answers as nslookup and dig

This tool is a DNS lookup in your browser: enter a domain, pick a record type, and NetCheck queries Google's public resolver. If you prefer the command line, these commands return the same records from your own machine:

Record typenslookup (Windows, macOS, Linux)dig (macOS, Linux)
Anslookup -type=A example.comdig example.com A +short
AAAAnslookup -type=AAAA example.comdig example.com AAAA +short
MXnslookup -type=MX example.comdig example.com MX +short
TXTnslookup -type=TXT example.comdig example.com TXT +short
NSnslookup -type=NS example.comdig example.com NS +short
CNAMEnslookup -type=CNAME www.example.comdig www.example.com CNAME +short

To ask the same resolver as NetCheck, add its address: nslookup -type=MX example.com 8.8.8.8 or dig @8.8.8.8 example.com MX. In Windows PowerShell, Resolve-DnsName example.com -Type MX gives the same result.

Online lookup or local command?

Frequently asked questions

Are the results up to date?

Yes: the query goes live to Google's public resolver, over DNS-over-HTTPS. But that resolver, like all others, honours the TTL: right after a change it may still return the old value. The DNS Propagation tool compares several resolvers at once.

What is the difference between an A record and a CNAME?

An A record gives an IP address directly. A CNAME points to another name, which is then resolved in turn. It is handy when the destination address changes often (platforms, CDNs), but it adds a step and cannot coexist with other records on the same name.

What does the number in front of an MX record mean?

It is the priority: the lower it is, the higher the server's priority. Senders try the server with the smallest value first, then move on to the next ones if it does not answer.

What is a CAA record for?

It restricts which certificate authorities may issue a certificate for your domain. Without CAA, any of them can; with it, an unlisted authority must refuse, which reduces the risk of a fraudulent certificate.

What is the difference between nslookup and dig?

Both send DNS queries. nslookup comes preinstalled on Windows and gives a short output. dig is standard on Linux and macOS and shows more detail, such as the TTL of each answer and which server replied.

What does “Non-authoritative answer” mean in nslookup?

The answer came from a resolver, not directly from the domain's own name server. That is the normal case, not an error. You get an authoritative answer by querying one of the domain's name servers directly.

Why does nslookup show a different value from the online DNS lookup?

Usually your provider's resolver or your computer still holds an older answer in cache. It disappears once the TTL has expired at the latest. On Windows, ipconfig /flushdns clears the local cache straight away.

More NetCheck tools

Our other sites:Toolo - PDF and image toolsVolt - internet speed testBoxo - disposable email address