Free DNS lookup tool. Query and inspect DNS records for any domain online
This DNS lookup tool lets you query any of the ten major DNS record types for any domain name. Instantly, in your browser, with no software to install. It uses DNS over HTTPS (DoH) to send encrypted queries to Cloudflare's global resolver (cloudflare-dns.com) with automatic fallback to Google's (dns.google), ensuring both privacy and reliability. Unlike traditional DNS tools that use plaintext UDP port 53, DoH prevents network observers from seeing the domains you're looking up.
DNS (Domain Name System), defined in RFC 1034 and RFC 1035, is the internet's distributed directory service. It translates human-readable domain names into IP addresses and configuration data that computers use to communicate. Every record has a TTL (Time To Live) value in seconds controlling how long it is cached by resolvers. Lowering TTL before making DNS changes speeds up propagation; restoring it afterward reduces nameserver query load. This tool displays TTL for every returned record so you always know exactly how fresh the cached data is.
Multi-type batch querying is the most practical feature for email and infrastructure debugging. Select A + MX + TXT + NS in a single lookup to check web hosting, mail routing, SPF records, and nameserver delegation simultaneously. The same checks you would run sequentially using dig or nslookup, done in one click. Common use cases include: verifying MX records after setting up email, confirming TXT records for SPF or DMARC configuration, checking whether a CNAME alias is resolving correctly, and diagnosing why a domain isn't resolving as expected after a DNS change.
Why DNS lookups matter: debugging infrastructure, verifying email, and auditing security
DNS is the silent infrastructure behind every internet-connected service. When it works correctly it is completely invisible. When it does not, websites fail to load, email is not delivered, APIs cannot connect, and TLS certificates cannot be issued. Because DNS failures often produce generic error messages rather than specific DNS diagnostics, they are among the hardest infrastructure problems to identify without a dedicated lookup tool. A single lookup here frequently surfaces a missing record, a stale cached value, or a misconfiguration that would otherwise take hours to find.
For email, DNS configuration is the primary determinant of whether messages reach the inbox or the spam folder. The Email Health Checker audits five DNS factors simultaneously with a scored grade, but when you need to inspect the raw record values directly, the exact SPF include chain, the exact DMARC tags, whether a specific DKIM selector key is published, this tool gives you that granularity. Querying TXT records at your root domain reveals the SPF record. Querying TXT at _dmarc.yourdomain.com shows DMARC policy. Querying TXT at selector._domainkey.yourdomain.com shows the DKIM public key. All three in one batch lookup takes under two seconds.
For security teams, DNS records are a primary source of passive reconnaissance data and an active attack surface. CAA records restrict which Certificate Authorities can issue TLS certificates for your domain. A critical control against fraudulent certificate issuance. NS records reveal which DNS provider hosts a domain, which is relevant for DNS hijacking risk assessments. TXT records often accumulate over years, with legacy ownership verification strings, deprecated service configurations, and old SPF includes that are no longer valid. A full TXT record audit with this tool frequently surfaces entries that need to be cleaned up to reduce attack surface and clarify the domain's current configuration.
For DevOps and infrastructure teams, DNS lookups are part of every deployment and migration verification checklist. After pointing a CNAME to a new CDN endpoint, querying this tool confirms what Cloudflare's and Google's resolvers currently return. Which reflects what most internet users see. After migrating email providers, querying MX and TXT together confirms the old provider's MX records are gone and the new SPF include: is in place. The TTL values displayed tell you how long each record will remain cached globally, so you can calculate the remaining propagation window for each change.
Common DNS investigation tasks: what to query and how to read the results
Most DNS debugging tasks follow one of a small number of patterns. Here is what to query and how to interpret what you find.
Real DNS records explained: what each type looks like in practice
These examples show what each DNS record type looks like and what the value means when you look it up.
An A record is the most basic DNS record, pointing a domain to an IPv4 address. When you type a URL in your browser the first DNS lookup it performs is an A record query. The TTL of 3600 seconds means resolvers cache this result for one hour before re-querying the authoritative nameserver.
MX records tell sending servers where to deliver email for a domain. Multiple records with different priority values provide failover. If the primary server (priority 10) is unreachable, the sender tries priority 20, then 30. All major mail providers publish multiple MX records for redundancy and reliability.
TXT records are used for email authentication (SPF, DKIM, DMARC), domain ownership verification, and third-party service configuration. This SPF record authorises Google and SendGrid to send email on behalf of the domain. The ~all softfail means all other senders should be treated with suspicion by receiving servers.
A CNAME creates an alias from one hostname to another. Here www.example.com resolves by first following the CNAME to example.com, then looking up its A record. CNAMEs cannot be placed at the root domain itself. Only on subdomains like www, mail, or ftp.
NXDOMAIN means the queried name does not exist in DNS at all. For email senders, NXDOMAIN on an MX lookup means the domain cannot receive email and any message sent will hard-bounce immediately. For websites it means the subdomain has not been configured in DNS.
DNS lookup questions and answers
Answers to the most common questions about DNS records, TTL, DNS over HTTPS, propagation, NXDOMAIN, DNSSEC, and how DNS relates to email authentication.
Need a disposable email address?Generate a free, instant throwaway. Zero signup, zero trace.
Get Free Temp Mail ->