DNS Lookup

Query a domain's A, AAAA, MX, TXT, CNAME, NS, SOA and CAA records over DNS-over-HTTPS in one click, with TTLs and copyable values.

The interactive tool loads here when JavaScript runs.

About this tool

What is the DNS Lookup?

The DNS Lookup queries ten record types for a domain in one go (A, AAAA, MX, TXT, CNAME, NS, SOA, PTR, SRV and CAA) and groups whatever comes back by type, with the TTL and a copy button for each record. You can paste a full URL; it is trimmed to the hostname first.

Queries are sent from your browser over DNS-over-HTTPS to Google Public DNS (dns.google). If Google returns no records, the tool tries Cloudflare (cloudflare-dns.com) and then Quad9. Those resolvers see the domain you look up. Because they are public recursive resolvers, results reflect what the internet sees, including caching: a change you made five minutes ago may not appear until the old TTL expires.

Below the results, Run Network Diagnostics adds quick reachability checks from your browser: HTTP and HTTPS fetches, an HTTPS round-trip timing test and a WHOIS lookup. These are limited by browser security, as explained below.

  • Ten record types queried in parallel with one click
  • DNS-over-HTTPS via Google, with Cloudflare and Quad9 fallback
  • Records grouped by type with TTL and copy buttons
  • Pasted URLs trimmed to the hostname
  • Optional HTTP, HTTPS, timing and WHOIS checks
Read the guide: DNS Records Explained: A, AAAA, CNAME, MX, TXT, NS and CAA

Updated

How to use the DNS Lookup

  1. Type a domain such as example.com into the DNS Query box. A pasted URL like https://www.example.com/page becomes www.example.com.
  2. Click Lookup All Records or press Enter.
  3. Read DNS Records Found: records are grouped by type, each with its name, TTL in seconds and value.
  4. Click the copy icon on any record to copy its value, for example a TXT verification string.
  5. Optionally click Run Network Diagnostics for HTTP, HTTPS, timing and WHOIS checks against the same domain.

Worked examples

Checking mail routing

Input

gmail.com

Output

MX records such as "5 gmail-smtp-in.l.google.com." plus SPF in TXT

The number before each MX host is its preference. Senders try the lowest number first and fall back to higher ones.

Pasting a URL

Input

https://www.example.com/about?ref=1

Output

Queries www.example.com

Scheme, path, query string and port are stripped before the lookup, and the field is updated to the hostname that was actually queried.

Background and insight

DNS was defined in RFC 1034 and RFC 1035 in 1987 and still works the same way: a recursive resolver walks from the root servers to the top-level domain to the domain's authoritative name servers, then caches each answer for its TTL in seconds. DNS-over-HTTPS (RFC 8484, 2018) wraps those queries in HTTPS so a web page can make them; this tool uses the JSON variant that Google, Cloudflare and Quad9 all offer over GET.

Each record type answers a different question. A and AAAA give IPv4 and IPv6 addresses. CNAME says "this name is an alias for that one" and cannot sit beside other records at the same name, which is why a bare domain usually cannot be a CNAME. MX lists mail servers with a preference number where lower wins. TXT holds free text, now mostly SPF (RFC 7208), DKIM keys and domain verification tokens. NS and SOA describe who is authoritative for the zone. CAA (RFC 8659) says which certificate authorities may issue certificates for the domain.

Two record types in the list rarely return anything for a plain domain. PTR records live under in-addr.arpa for reverse lookups, and SRV records sit at names like _sip._tcp.example.com, so empty results for those are normal.

Common use cases

  • Verifying a DNS change

    Confirm that a new A record, MX change or nameserver move is visible from a public resolver.

  • Email deliverability checks

    Read SPF, DKIM and DMARC TXT values and MX priorities when mail is bouncing or landing in spam.

  • Domain verification

    Check that the TXT token a service like Google Workspace or a certificate authority asked for is published correctly.

  • Certificate issuance problems

    Look for a CAA record that only allows one CA when a different CA refuses to issue.

Tips and limitations

  • Results come from a caching resolver. After a change, wait for the old record's TTL to pass; lowering the TTL a day before a migration makes cut-overs faster.
  • DMARC lives at _dmarc.example.com and DKIM at selector._domainkey.example.com. Query those names directly; they are not returned for the bare domain.
  • The HTTP check usually fails on this HTTPS page because browsers block mixed content. That does not mean the site is down.
  • The timing test is an HTTPS request, not an ICMP ping, so it includes TLS and server time and is higher than ping would show.
  • The tool shows what public resolvers return. Split-horizon internal records on your company network will not appear here.

Sources and further reading

Frequently asked questions

Why does the DNS lookup still show my old IP address?

Public resolvers cache each answer for the record's TTL. Until that time passes, they keep returning the old value. Check the TTL shown on the record; if it was 86400, the old answer can live for up to a day.

Which DNS servers does this DNS lookup use?

It queries Google Public DNS at dns.google over HTTPS. If that returns nothing, it tries Cloudflare at cloudflare-dns.com and then Quad9. Those providers see the domain name you look up, along with your IP address.

How do I check a domain's SPF, DKIM and DMARC records?

SPF appears in the TXT results for the bare domain as a string starting v=spf1. DMARC is a TXT record at _dmarc.yourdomain, and DKIM is at selector._domainkey.yourdomain, so enter those full names to see them.

Why can't I put a CNAME on my root domain?

The DNS rules say a name with a CNAME can have no other records, but the zone apex must have SOA and NS records. Many DNS hosts offer ALIAS or CNAME flattening to get the same effect.

Is the network diagnostics ping a real ping?

No. Browsers cannot send ICMP packets, so the test times three HTTPS requests to the domain instead. It shows whether the web server answers and roughly how fast, including TLS setup.

What is a CAA record and do I need one?

A CAA record lists which certificate authorities may issue certificates for your domain, for example 0 issue "letsencrypt.org". It is optional, but if one exists and your CA is not listed, issuance will fail.

Is there an in-depth guide to the DNS Lookup?

Yes. “DNS Records Explained: A, AAAA, CNAME, MX, TXT, NS and CAA” covers the background, how it works, common pitfalls and worked examples. Read the full guide.