DNS Query
Look up A, AAAA, CNAME, MX, NS, SOA, TXT or SRV records.
About DNS Query
DNS Lookup: Query A, AAAA, CNAME, MX, NS, SOA, TXT and SRV Records
Enter a domain, pick a record type and the tool returns the records our resolver gets back. Use it to confirm a DNS change, to check what a domain points to, or to compare against what your own machine sees.
Record types
- A: the IPv4 address for a name, such as
93.184.215.14. - AAAA: the IPv6 address for a name.
- CNAME: an alias.
www.example.com CNAME example.netlify.app.tells resolvers to look up the target instead. A name with a CNAME can't hold other records, which is why most DNS hosts won't let you put one on the bare domain. - MX: the mail servers for the domain, each with a priority. Senders try the lowest number first.
- NS: the authoritative name servers. If these are wrong, nothing else in your zone matters.
- SOA: zone metadata, including the primary server, admin contact, serial number and the negative-caching TTL.
- TXT: free text, used for SPF, domain verification codes and other policies.
- SRV: the host and port for a service, published at names like
_sip._tls.example.com.
Reading the results
- "The DNS response does not contain an answer": the name exists but has no records of that type. A domain with only an A record returns this for AAAA.
- "The DNS query name does not exist" (NXDOMAIN): nothing exists at that name. Check for typos, or check that the domain hasn't expired.
- Old values after a change: resolvers cache answers for the record's TTL. If the old record had a TTL of 3600, some resolvers keep serving it for up to an hour. Nothing pushes the change out. Each cached copy expires on its own.
Same check from the command line
dig example.com MX +short
dig @8.8.8.8 example.com A
nslookup -type=TXT example.com
Related tools
- DNS Propagation Checker: compare answers from resolvers in different countries.
- MX Record Checker and SPF Validator: for email setup.
- DNSSEC Inspector: check whether a zone is signed and the chain of trust holds.