DNS Lookup

Query a domain’s DNS records through Google Public DNS (dns.google) and see each record’s value and TTL. Choose one record type or check them all at once.

Last updated

About the DNS Lookup

DNS records tell the internet where a domain’s website, email and other services live. Enter a domain and this tool asks Google Public DNS (dns.google) for its records over an encrypted DNS-over-HTTPS connection, then lists each record’s type, name, value and TTL, the number of seconds resolvers may cache it.

Choose ALL to query eight common types at once, or pick one: A and AAAA for IPv4 and IPv6 addresses, CNAME for aliases, MX for mail servers (shown with their priority), TXT for SPF, verification and other text values, NS for the domain’s name servers, SOA for the zone’s administrative record, and CAA for the certificate authorities allowed to issue certificates for the domain.

Typical uses are confirming a new A record after moving to another host, checking that MX records point to your email provider, or making sure a TXT record that a service asked you to add is in place. Keep in mind that answers come from Google’s resolver, which may hold a cached copy until its TTL runs out, so a change you have just made can take a while to appear. DMARC and DKIM records live on special subdomains: look up _dmarc.example.com or selector._domainkey.example.com, not the bare domain.

You can paste a full URL; the tool removes the protocol, path and port and looks up only the host name, and converts internationalised names to their xn-- form. Setting up a new site? Create its robots.txt and XML sitemap next.

How to use the DNS Lookup

  1. 1

    Enter a domain

    Type a domain such as example.com or a subdomain, or paste a URL. www.example.com and example.com are looked up separately because their records can differ.

  2. 2

    Choose a record type

    Leave ALL selected to query A, AAAA, CNAME, MX, TXT, NS, SOA and CAA together, or click a single type.

  3. 3

    Click Lookup

    Or press Enter. The queries are sent to Google Public DNS and the table fills in when the answers arrive.

  4. 4

    Read or copy the records

    Check the table, then click Copy All to copy every row as tab-separated text.

What it can do

Eight record types

A, AAAA, CNAME, MX, TXT, NS, SOA and CAA, one at a time or all at once.

Clear error messages

Distinguishes a name that does not exist (NXDOMAIN), a server failure (SERVFAIL), a refused query and a network problem reaching dns.google.

MX priority shown

Mail servers are listed with their preference number in brackets.

TTL for every record

Shows how long resolvers may cache each answer.

Accepts URLs and international names

Strips protocol, path and port, and converts non-ASCII domain names to xn-- form.

Copy All

Exports the results as tab-separated lines for a spreadsheet or a support ticket.

Limitations

  • Answers come from one resolver, Google Public DNS, and may be cached; this is not a propagation checker that compares servers around the world.
  • Reverse (PTR) lookups by IP address, SRV records and DNSSEC details are not available.
  • SOA records are usually returned only for the top of a zone, so a subdomain may show none.
  • It needs to reach dns.google from your browser; some networks, extensions and company firewalls block it.

Privacy

The domain name you enter is sent to Google Public DNS (dns.google) to run the query, and Google’s privacy policy applies to that request. Nothing is sent to FlexyPdf’s servers.

Frequently asked questions

Why do I see a CNAME when I asked for A records?

If the name is an alias, the resolver returns the CNAME record together with the A records of the name it points to. Both are listed so you can follow the chain.

I changed a record but still see the old value. Why?

Google’s resolver keeps answers for the TTL shown. Until that time passes, it can return the previous record. Lowering the TTL a day before a planned change shortens the wait next time.

How do I check SPF, DKIM or DMARC?

Choose TXT. SPF is a TXT record on the domain itself that starts with v=spf1. DMARC sits on _dmarc.yourdomain.com, and DKIM on selector._domainkey.yourdomain.com, where your email provider tells you the selector.

What does NXDOMAIN mean?

The name does not exist in DNS: the domain may be unregistered, expired or misspelled, or the subdomain was never created. A domain that exists but has no record of the type you asked for shows a No records found message instead.

Why is the TTL different each time I look?

Resolvers count the TTL down while an answer sits in their cache, so you see the seconds remaining rather than the value set at your DNS provider.

Ratings & Reviews

—
No ratings yet
5
0
4
0
3
0
2
0
1
0

Rate DNS Lookup

Help others by sharing your experience. Your rating is shown without your name.

0/600