The OriginalHostChecker

DNS Lookup

Enter a domain to see its DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA, and CAA), or an IP address to see its reverse DNS name. Free, no signup.

Try

What this DNS lookup shows

DNS, the Domain Name System, is the internet’s directory. It turns a name such as example.com into the things a computer needs to use it: the address of its web server, the servers that receive its email, the servers that answer for it, and a handful of other facts. Each fact is stored as a record of a particular type. When you run a lookup, HostChecker asks for the records of eight types for the name you typed, using the standard dig command, and lays the answers out by type. What you get depends on whether you enter a domain name or an IP address.

For a domain name

Enter a domain and the lookup asks for its A, AAAA, CNAME, MX, NS, TXT, SOA, and CAA records, one type at a time. The tile counts every record found, and the list shows each type with what came back. A type with nothing to show reads “none”. Here is an example, with what each part tells you:

Example What a lookup of example.com could show. Not a live result.
Records found
10
across 7 of 8 record types. Every record counts, so a name with many TXT or NS records scores high. A low count is not a problem. 0 turns red.

DNS records

A
203.0.113.10The IPv4 address the name points to, which is where a browser connects. Several lines mean several servers, in no fixed order.
AAAA
2001:db8::10The same for IPv6. Having none is fine.
CNAME
noneAn alias to another name. Most names are not aliases, so none is normal. A name can have a CNAME or other records, not both.
MX
10 mail1.example.com. 20 mail2.example.com.Where email for the domain is delivered. The number is the priority, and the lowest is tried first.
NS
ns1.example-dns.com. ns2.example-dns.com.The name servers that hold the domain’s records. They should match the Name servers in WHOIS.
TXT
"v=spf1 include:_spf.example.com ~all" "example-verification=abc123"Free-form text. Mostly used for email rules (SPF) and to prove to a service that you control the domain.
SOA
ns1.example-dns.com. hostmaster.example.com. 2026100701 7200 3600 1209600 3600Administrative data for the domain’s zone. Rarely needs attention. The next section explains it.
CAA
0 issue "letsencrypt.org"Which certificate authorities may issue SSL certificates for the domain. None listed means any may.

The dot at the end of a name, as in mail1.example.com., marks it as a complete name. You can ignore it. The complete, unedited answers are under “Show complete raw command output”, and they carry one thing the list leaves out, the TTL:

Example What the raw output for www.example.com could show. Not a live result.

Raw output (under “Show complete raw command output”)

$ dig +noall +answer www.example.com A
www.example.com. 3600 IN CNAME example.com.
example.com. 300 IN A 203.0.113.10

Each line reads: the name the record belongs to, its TTL, the class (IN, for the internet), the record type, and the data. The TTL (time to live) is how many seconds a DNS resolver may keep the answer before asking again. HostChecker asks through a resolver that remembers answers, so the TTL shown is usually what is left of the original and counts down between checks. This example is also an alias: www.example.com is a CNAME for example.com, and the lookup follows it the way a browser would. The first line is the alias, and the second is the address at the end of it. For an alias, the other record types can come back from the name it points to. The name at the start of each raw line shows whose record it is.

For an IP address

Enter an IP address and the lookup does the reverse: it asks which name the address’s owner has registered for it, called reverse DNS or a PTR record. Only that one type is asked for. Here is an example, with what each part tells you:

Example What a lookup of 203.0.113.10 could show. Not a live result.
Records found
1
across 1 of 1 record types. Reads 0 and red when the address has no reverse name, which is common.

DNS records

PTR
server10.example-hosting.net.The name registered for this address. Usually the hosting company’s or internet provider’s own naming, not a website’s name.

Raw output

$ dig +noall +answer -x 203.0.113.10 PTR
10.113.0.203.in-addr.arpa. 3600 IN PTR server10.example-hosting.net.

The name in the raw output, 10.113.0.203.in-addr.arpa., is the address written backwards with .in-addr.arpa on the end, which is where reverse records are kept. The owner of the address block controls them, which is usually a hosting company or an internet provider rather than the website’s owner, so you set a reverse name through them and not at your domain registrar. A reverse name does not have to match what the domain points to, but many mail servers check that a sending address has one. Addresses on private networks, such as 192.168.x.x or 10.x.x.x, have no public reverse name, and IPv6 addresses are not accepted.

Either way, three things are worth knowing. The lookup asks one resolver, the one HostChecker’s server uses, so a record you changed minutes ago can still show its old value until the old TTL runs out. It does not say why a type came back empty: a name that does not exist, a name with no records of that type, and a DNS server that did not answer all read as “none”. And it looks up only the exact name you typed, so www.example.com and example.com are separate lookups. To see where the name actually leads and whether the site answers, run Host Check.

How to read the result

Example What a lookup of a name with no DNS at all could show. Not a live result.
Records found
0
across 0 of 8 record types. Nothing came back for any type.

DNS records

A
noneNo address, so there is nothing for a browser to connect to.
AAAA
none
CNAME
none
MX
none
NS
noneNo name servers answered for the name.
TXT
none
SOA
none
CAA
none

Raw output (the first of eight commands)

$ dig +noall +answer nonexistent.example A
(no output)

Common DNS problems and fixes

The site still goes to the old server after a change

Resolvers keep each answer for its TTL, so for a while some of them hand out the old address and others the new one. That is what people call propagation, though nothing is being pushed anywhere: old answers are simply expiring. Look at the TTL in the raw output to see how long caches may hold the old value. If the old address is still showing well after that TTL has run out, the change was probably not saved at your DNS provider, or the domain’s name servers point somewhere else. If you are planning a move, lower the TTL ahead of time, by at least as long as the old TTL, and raise it again afterward. Browsers and your own computer cache DNS too, so restarting the browser or flushing the local cache can matter.

Every type reads none

The name did not resolve. Check the spelling and the ending first. Then use WHOIS to see whether the domain is registered and not on hold or expired. If it is, compare the Name servers there with the DNS provider where you manage the records: the registrar must point at the provider that holds the zone, and that provider must have a zone for the domain. A DNS server that is down or answering with an error also reads as none here, and so can a domain whose DNSSEC signatures are broken, because resolvers that check them refuse to answer.

The domain works but www does not (or the reverse)

They are separate names with separate records. Look up both. The usual fix is a CNAME that makes www an alias for the bare domain, or an A record for each.

A CNAME cannot be added at the root of the domain

A name that has a CNAME cannot have any other record, and the root of a domain always has NS and SOA records, so it cannot be an alias. Use A and AAAA records at the root. Some DNS providers offer a feature called ALIAS, ANAME, or CNAME flattening that follows another name for you and answers with plain address records.

Email is not arriving

Check the MX lines: they should exist, point at the right provider, and use names that have address records of their own. An MX or NS value should never be an alias (a CNAME). Then check the TXT lines for one SPF record that includes your mail provider, because two SPF records cause SPF to fail. SPF is only part of email authentication; DMARC and DKIM live at names this lookup does not accept (see the FAQ). Email Check is the tool for those.

A certificate will not issue

If the domain has CAA records, the certificate authority you are using has to be listed, with issuewild as well for a wildcard certificate. Remove or correct a CAA record that names the wrong authority. If every type reads none, the authority cannot validate the domain at all.

The name servers here do not match WHOIS

The NS list comes from DNS, and the Name servers in WHOIS come from the registrar. A difference usually means a name server change was started but not finished, or the old DNS provider still serves a copy of the zone. Fix the Name servers at the registrar, since that is where resolvers start, and make sure both providers carry the records until the change has settled.

Frequently asked questions

How do I check a domain’s DNS records?

Type the domain into the box above and run the lookup. It shows the A, AAAA, CNAME, MX, NS, TXT, SOA, and CAA records at once. To check one type from your own computer, run dig example.com MX on macOS or Linux, nslookup -type=MX example.com on Windows, or Resolve-DnsName example.com -Type MX in PowerShell.

What is a DNS lookup?

A DNS lookup is a question put to the Domain Name System: what records does this name have? The best-known answer is the IP address behind a website’s name, which is what your browser asks for before it loads a page. The same system also answers where the domain’s email goes and who may issue certificates for it.

What do A, AAAA, CNAME, MX, NS, TXT, SOA, and CAA records mean?

A is an IPv4 address and AAAA is an IPv6 address. CNAME makes one name an alias for another. MX lists the mail servers, with priorities. NS lists the name servers that answer for the domain. TXT holds text, mostly for email rules and domain verification. SOA holds administrative data for the domain’s zone. CAA says which certificate authorities may issue certificates for the domain.

How long do DNS changes take to show up?

It depends on the TTL of the old record, because resolvers keep an answer until its TTL runs out. With a TTL of 300 that is five minutes. With 86400 it is a day. Changing a domain’s name servers at the registrar can take longer, often a day or two, because those delegations are typically cached for much longer. Since this lookup goes through a caching resolver, it may show the old value until the TTL expires.

Why does the lookup show no records for my domain?

Because nothing came back, and the lookup cannot say why. The usual causes are a misspelled or unregistered name, a domain that has expired or been put on hold, name servers at the registrar that do not match the DNS provider, a missing zone at the provider, or a DNS server that is down. Check WHOIS for the registration and name servers, then your DNS provider.

Can I look up an IP address?

Yes. Enter an IPv4 address and the lookup returns its reverse DNS name (the PTR record), if the owner of the address block has set one. Many addresses have none, or a generic name from the provider. IPv6 addresses are not accepted.

Can I look up other record types, such as SRV or DMARC?

Not here. The lookup asks for eight fixed types, and it accepts ordinary host names only, so names that begin with an underscore, such as _dmarc.example.com or a DKIM selector, are rejected. Email Check looks up the SPF, DMARC, and DKIM records for a domain.

Can I choose which DNS server answers?

No. The lookup uses the resolver HostChecker’s server is set up with, so it shows what that resolver sees. It does not query a name server of your choice or compare several. To see how an answer looks from different places, use DNS Propagation.

Does the lookup list all of a domain’s subdomains?

No. It looks up only the exact name you type. DNS does not offer a public list of the names in a domain, so the only way to find a subdomain is to try its name.

What is the difference between a DNS lookup and WHOIS?

WHOIS is the registration record: who the domain is registered through, when it was registered, when it expires, and which name servers it uses. DNS holds the records that say where the name leads. WHOIS tells you who to talk to, and the DNS lookup tells you what is set. Use WHOIS for the first and this lookup for the second.

Is the DNS lookup free?

Yes. There is no signup, no account, and no limit on how many names you check, apart from a per-visitor rate limit that keeps the service fast for everyone.

All free tools