Skip to content
Network

DNS Lookup

Query DNS records (A, AAAA, MX, TXT, NS, and more) for any domain.

dnslookupdomainrecordsnetwork
Loading tool…

Recommended tools

Affiliate links — we may earn a commission if you sign up.

About the DNS Lookup

The DNS Lookup tool resolves DNS records for any domain through Google's public DNS-over-HTTPS resolver, so results reflect the state that real users experience on the global network. Enter a domain and pick one of eight record types — A, AAAA, MX, TXT, NS, CNAME, SOA, or CAA — then hit Lookup or press Enter to query. The domain field validates that only letters, numbers, dots, and dashes appear and that the value contains at least one dot before sending anything. Lookups carry a 15-second timeout that aborts slow or hanging responses. Stat cards summarize the number of records returned, the queried record type, the DNS status code shown as NOERROR when zero, and the resolver identity as Google DoH. Results render in a scrollable table with the owner name, a type badge, the TTL in seconds, and the record data. Sample domain chips for example.com, google.com, and cloudflare.com run a lookup instantly, and a matching lookup aborts a previous in-flight request to avoid stale answers. An amber banner appears when the query succeeds but returns no records for the chosen type, such as an MX query on a domain that only publishes A records.

Hand-written guide

Examples

Input
Domain "example.com" · Record type A
Output
Records 1 · DNS status NOERROR · Row — Name: example.com., Type: A, TTL: 300s, Data: 93.184.216.34
Note: The A query returns the canonical IPv4 answer for example.com with a single row. The DNS status stat reads NOERROR because Google DoH answered with status 0, and the table body shows one entry under the Results heading.
Input
Domain "gmail.com" · Record type MX
Output
Records 5 · DNS status NOERROR · Rows — gmail.com.: 5 aspmx.l.google.com, gmail.com.: 10 alt1.aspmx.l.google.com, gmail.com.: 20 alt2.aspmx.l.google.com, gmail.com.: 30 alt3.aspmx.l.google.com, gmail.com.: 40 alt4.aspmx.l.google.com
Note: Gmail publishes a tiered set of mail exchangers with increasing preferences for failover. Each row shows the owner name, an MX badge, its TTL, and the preference plus host in the data column, letting you verify mail routing weights at a glance.
Input
Domain "example.com" · Record type TXT
Output
Records 0 · DNS status NOERROR · Amber banner: "No TXT records returned for example.com."
Note: example.com publishes no TXT records, so the query succeeds with an empty answer set. The tool shows the amber no-results banner while keeping the status stat at NOERROR, distinguishing a clean empty answer from a failed query.

How to use

  1. 1

    Type a domain such as example.com into the Domain field; the hint below the label suggests the expected format.

  2. 2

    Choose a record type from the Record type select — A, AAAA, MX, TXT, NS, CNAME, SOA, or CAA.

  3. 3

    Click Lookup or press Enter in the domain field to run the query through the Google DNS-over-HTTPS resolver.

  4. 4

    Click a Try chip for example.com, google.com, or cloudflare.com to run an in-place lookup for that sample domain.

  5. 5

    Read the Stat cards and the results table, checking the name, type badge, TTL in seconds, and data column for each answer row.

Common use cases

  • Propagation checks after a DNS change — confirm the new A or AAAA answer is live across caches on the public resolver before launch.
  • Email deliverability triage — MX queries reveal missing or misweighted mail servers that silently bounce inbound messages.
  • SPF and verification audits — TXT lookups surface the SPF, DKIM, and domain-verification strings that anti-spam filters expect.
  • CDN and hostname debugging — CNAME responses show which hostname the domain really points to and where the alias terminates.
  • Domain transfer planning — NS records identify the current authoritative name servers before you move delegation to another host.
  • Security policy reviews — CAA entries list which certificate authorities may issue for a domain, exposing misconfigurations.

Best practices

  • Wait at least one full TTL before re-checking after a change; querying sooner will report a cached answer as a false failure.
  • Look up both the apex and the www hostname, since many outages live in a missing www CNAME rather than the base record.
  • Cross-check MX data against the mail provider's published documentation, and confirm the preference order matches your failover intent.
  • Query TXT records from the public resolver to verify SPF includes are served for a domain before an email gate blocks your mail.
  • Use CAA records to allow only the CAs you actually buy from, then spot-check them after quarterly audits for unexpected allow entries.
  • Treat a NOERROR with zero answers as an intentional NXDOMAIN or empty zone, not a lookup failure; the tool keeps them visually separate.

Tips

  • Compare A and AAAA results side by side for the same hostname to spot dual-stack gaps where IPv6 users cannot reach the site.
  • Keep the amber no-records banner in mind as a feature, not a bug; an intentionally bled zone returns NOERROR with an empty table.
  • Do an MX lookup on your own domain quarterly; mail routing that silently changed preferences is a classic outage that nobody notices.
  • Use the Try chips to sanity-check your network first, so a failing manual lookup is clearly a domain issue and not a resolver problem.

Frequently asked questions

Queries go to Google's public DNS-over-HTTPS service, the same resolver the sample UI identifies in the stat row. This matters because the answers you see are the globally cached view that most visitors resolve against. The resolver stat card always reports Google DoH to keep that provenance visible.

Explore more network tools

Browse the full collection of network tools on the hub, or jump back to all categories.

Related tools