DNS Lookup - Check All DNS Records for a Domain

Enter a domain or subdomain to see its A, AAAA, CNAME, MX, NS, TXT, SOA and CAA records in one place, with the TTL for each record.

What is a DNS lookup?

DNS (the Domain Name System) translates names like example.com into the information computers need: the IP address of the website, the servers that receive its email, and text records that prove who owns the domain. A DNS lookup asks the DNS for those records.

This tool queries every common record type for the name you enter and shows the results together, so you can see the whole setup at a glance instead of running one query per type.

DNS record types explained

  • A: the IPv4 address a name points to, for example the server hosting a website.
  • AAAA: the IPv6 address a name points to.
  • CNAME: an alias. It points one name at another, such as www.example.com to example.com. A name with a CNAME should not have other records.
  • MX: the mail servers that receive email for the domain, with a priority number. Lower numbers are tried first. See the MX Lookup for details.
  • NS: the name servers that hold the domain’s DNS records. Changes must be made at these servers.
  • TXT: free-form text. Used for SPF, DKIM and DMARC email authentication and for domain verification by services such as Google and Microsoft.
  • SOA: the “start of authority” record with the primary name server, the admin contact and the zone’s timing settings.
  • CAA: lists which certificate authorities may issue SSL/TLS certificates for the domain.

Using DNS lookup to fix email problems

  • Mail not arriving: check that MX records exist and point to your current email provider, not an old one.
  • Mail going to spam: check the TXT records for an SPF record (v=spf1) and a DMARC record on _dmarc.yourdomain.com. Test them in detail with the SPF Checker and DMARC Checker.
  • Changes not working: compare the NS records with where you edited the DNS. If you changed records at your registrar but the name servers point elsewhere, the change has no effect.
  • Moving providers: note the TTL values before a move. Lowering the TTL a day in advance makes the switch take effect faster.

TTL and DNS propagation

Every record has a TTL (time to live): how long other servers may cache the answer before asking again. After you change a record, servers that cached the old answer keep using it until its TTL runs out. That delay is what people call DNS propagation. With a TTL of 1 hour, most changes are visible everywhere within an hour.

This tool asks DNS live each time, so it shows the current answer as seen from our server. Your own computer or network may still have the old answer cached for a while.

DNS lookup from the command line

dig example.com A
dig example.com MX
dig example.com TXT +short
nslookup -type=ns example.com

Frequently asked questions

Enter the domain in the DNS lookup above. It queries the A, AAAA, CNAME, MX, NS, TXT, SOA and CAA records live and shows them in one table with their TTLs. On the command line you need one dig query per record type.

Servers that cached the old record keep using it until its TTL expires, which can take from a few minutes to a day or more. Also check that you edited the DNS at the name servers listed in the NS records. If they point to another provider, changes made elsewhere are ignored.

Yes. Enter the full name, such as www.example.com or mail.example.com. If the subdomain is an alias (CNAME), the tool shows the alias and the records of the name it points to.

A domain only has the records its owner created. Many domains have no AAAA (IPv6) or CAA records, and a name with a CNAME has no other records of its own. The tool lists the types it found nothing for under “Not found”.