01What is DNS Lookup?
DNS Lookup shows you the public DNS records for a domain without opening a terminal. It is one of the few tools on this site that can't run in your browser. Web pages have no way to send raw DNS queries, so the name you type goes to our server. The server asks Google Public DNS (8.8.8.8 and 8.8.4.4) for six record types in parallel: A, AAAA, MX, CNAME, TXT and NS. Each type answers a different question. A and AAAA records hold the IPv4 and IPv6 addresses for the name. MX records list the mail servers and their preference values, where the lowest number is tried first, as RFC 5321 describes. CNAME marks the name as an alias of another name. NS lists the servers the zone is delegated to. TXT holds free-form text, which is where SPF policies, DMARC policies, DKIM keys and most domain-verification tokens live. When a TXT record is split into several strings, the tool joins them back into one value. Before querying, the server trims the input, lowercases it, strips a leading http:// or https:// and drops everything after the first slash. So pasting https://Example.com/path?x=1 looks up example.com. Labels may start with an underscore, which means _dmarc.example.com and selector._domainkey.example.com work fine. A host with a port, such as example.com:8080, is rejected, and so is a name with a trailing dot or a single label like localhost. Results land in one table with a filter button per type and a count beside each one. TTLs appear for A and AAAA rows only, because those are the two lookups that ask the resolver for them. Every value has its own copy button, which helps with long TXT strings. If one record type fails with an unexpected error, the others still show, and the failure is listed under the table. Be clear about what you're seeing. The answer is whatever Google's resolver has cached right now. If you just changed a record, the old value can stay until its TTL runs out. A domain that doesn't exist and a domain with none of these six types both show zero records. SOA, SRV, CAA and PTR records aren't queried at all. Your recent lookups, up to 20, are saved in your browser's local storage, not on our server.
Developers and sysadmins who just changed a DNS or mail setting and want to see what a public resolver returns for it right now. The domain you enter is sent to AIDToolStack's server, which queries Google Public DNS (8.8.8.8) and returns the records. We don't store the lookups.
02How to use DNS Lookup
- Type a domain into the Domain Name box, or paste a full URL and let the tool strip it to the host name
- Click Lookup or press Enter. All six record types are queried together
- Use the ALL, A, AAAA, MX, CNAME, TXT and NS buttons above the table to filter by type
- Check the Priority column for MX rows and the TTL column for A and AAAA rows
- Click the copy icon on any row to copy that record's value
- Click a domain under Recent Lookups to run it again, or Clear to empty the list
03Worked examples
- Input:
https://Example.com/path?x=1 - Result:
Queried name: example.com - Output of the server's input clean-up step. The scheme and path are removed and the name is lowercased before the DNS query.
- Input:
_dmarc.example.com - Result:
Accepted: queries _dmarc.example.com - Labels that start with an underscore pass the name check, so DMARC and DKIM names can be looked up.
- Input:
example.com:8080 - Result:
Invalid domain format. Example: google.com - Ports aren't stripped, so the name check rejects the input. Remove the :8080 and try again.
- Input:
localhost - Result:
Invalid domain format. Example: google.com - The check needs at least two labels and an alphabetic top-level domain. A trailing dot (example.com.) is rejected the same way.
04Common use cases
- Confirming that a domain's A record shows the new server IP after you move hosting
- Checking MX records and their preference values when mail to a custom domain starts bouncing
- Reading the SPF TXT record on the apex to see which mail services are allowed to send
- Looking up _dmarc.yourdomain.com to check which DMARC policy is published
- Checking a DKIM selector such as selector1._domainkey.yourdomain.com after setting up a mail provider
- Seeing which name servers a domain is delegated to after switching DNS host or registrar
- Checking that a www or app subdomain is a CNAME to the CDN or SaaS host you expect
05Tips
- To see DMARC, look up _dmarc plus your domain, not the bare domain. DKIM keys live under the selector name followed by ._domainkey.
- A name with a CNAME can't hold other records, so if you see a CNAME on www, the A rows you get are the target's addresses.
- SPF allows at most 10 DNS-querying mechanisms per check (RFC 7208 section 4.6.4). Count the include: entries in the TXT value if SPF starts failing.
- Zero records doesn't always mean the domain is missing. Look up the parent domain too, to tell a typo from a name that just has no A or MX records.
- Lower a record's TTL a day before a planned change. The old TTL is what decides how long resolvers keep the old answer.
06Related concepts
DNS over HTTPS, DNSSEC, DNS propagation, TTL.
Frequently Asked Questions
What is DNS Lookup?
DNS Lookup is a free, browser-based developer tool on AIDToolStack. Query DNS records for any domain. View A, AAAA, MX, CNAME, TXT, NS records It requires no installation or sign-up.
Is DNS Lookup free to use?
Yes. No sign-up, no fees and no usage cap.
Does DNS Lookup store my data?
The domain you enter is sent to AIDToolStack's server, which queries Google Public DNS (8.8.8.8) and returns the records. We don't store the lookups.