DNS Lookup
About the DNS Lookup Tool
This DNS lookup tool queries the live A, AAAA, CNAME, MX, TXT, NS, SOA and CAA records of any domain and shows each answer with its TTL. Lookups go from your browser to Google Public DNS over HTTPS, so you see what a public resolver returns right now, with the response code for every record type.
DNS record types explained
A records map a name to an IPv4 address and AAAA records to an IPv6 address. A CNAME makes one name an alias of another, for example www.example.com pointing to example.netlify.app. A name that has a CNAME cannot have other records of its own, which is why most providers do not allow a CNAME at the bare domain.
MX records list mail servers with a priority, where the lower number is tried first, as in 10 mail.example.com. TXT records hold free text and carry SPF (v=spf1 ...), DKIM and DMARC policies as well as domain verification tokens.
NS records name the authoritative nameservers for the zone. SOA holds zone metadata: primary nameserver, admin contact, serial number and refresh timers. CAA lists which certificate authorities may issue TLS certificates for the domain, as in 0 issue "letsencrypt.org".
What TTL means for DNS changes
TTL (time to live) is how many seconds resolvers may cache an answer. A record with TTL 3600 can be served from cache for up to an hour after you change it, so "DNS propagation" is really caches expiring.
Lower the TTL to something like 300 seconds a day before a planned migration, make the change, then raise it again. The TTL shown here counts down in Google's cache, so it may be lower than the value set in your zone.
NXDOMAIN, SERVFAIL and other response codes
NOERROR with zero answers means the name exists but has no records of that type, which is normal, for example a domain without AAAA records. NXDOMAIN means the name does not exist at all, often a typo or an expired domain.
SERVFAIL usually points to a problem at the authoritative side: unreachable nameservers or a DNSSEC validation failure. REFUSED means the server declined to answer.
Why results can differ from your computer
This tool asks Google Public DNS (8.8.8.8). Your computer may use your ISP's resolver, a company DNS server or a local hosts file, each with its own cache. If results differ right after a change, wait for the old TTL to expire or query the authoritative nameserver directly with dig @ns1.example.com example.com.
How to Use the DNS Lookup Tool
- Type a domain such as example.com into the box. Full URLs like https://example.com/page work too; the hostname is extracted for you.
- Toggle the record type buttons (A, AAAA, CNAME, MX, TXT, NS, SOA, CAA) to choose what to query. All eight are selected by default.
- Click Lookup or press Enter.
- Read one card per record type showing the name, type, TTL and data of each answer, plus a badge with the response code and answer count.
Frequently Asked Questions
- Why do I see no AAAA records?
- The domain has no IPv6 address published. A NOERROR response with 0 answers is normal and not an error.
- How long does DNS propagation take?
- Up to the old record's TTL, often between 5 minutes and 48 hours. Resolvers that cached the old answer keep serving it until the TTL expires.
- Can I look up a subdomain?
- Yes. Enter the full name, such as mail.example.com or _dmarc.example.com, to query its records directly.
- Does this tool do reverse DNS (PTR) lookups?
- No. It queries forward records for a domain name only. A PTR lookup needs the reversed IP name, for example 8.8.8.8.in-addr.arpa.
- Why does the lookup fail with a network error?
- Some ad blockers, privacy extensions and corporate firewalls block dns.google. Allow it for this page or try another network.
- What data is sent when I run a lookup?
- The domain name and record type are sent from your browser to Google Public DNS at dns.google, which also sees your IP address. Google's DNS privacy policy applies. This site does not log your queries.