🔍 Networking

DNS Record Lookup

Query A, AAAA, CNAME, MX, TXT, NS, SOA, CAA and SRV records for any domain using Cloudflare's DNS-over-HTTPS API. No dig command or terminal needed — results in under a second.

Domain Name
Record Types
github.com google.com cloudflare.com amazon.com netflix.com
📋 DNS Record Types Reference
A IPv4 address
AAAA IPv6 address
CNAME Alias to another domain
MX Mail server
TXT Text records (SPF, DKIM…)
NS Authoritative nameservers
SOA Start of authority
CAA CA authorisation
How it works: This tool uses Cloudflare's 1.1.1.1 DNS-over-HTTPS API to query records. Results reflect what Cloudflare's resolver sees — propagation times mean recent changes may not be visible everywhere yet. TTL values are in seconds.
📖 How to Use This Tool
1
Enter a domain name (e.g. github.com)
2
Select record types: A, MX, TXT, NS, etc.
3
Click Lookup — uses Cloudflare DoH (1.1.1.1)
4
Try quick domain chips for popular sites
📝 Examples
A record
Input: github.com
Output: 140.82.121.3

dig, nslookup, or a Browser Tab?

The traditional way to inspect a domain's records is a terminal: dig example.com MX or nslookup -type=TXT example.com. Both are capable tools, but they assume a terminal is open, the flag syntax is remembered, and the query runs from a machine whose local resolver can be trusted. This page trades some of that raw power for convenience — a query box that hits Cloudflare's public resolver directly, so the answer is identical whether it's run from a locked-down corporate laptop, a phone during an on-call page, or a shared machine where installing anything is out of the question.

The trade-off is real: dig exposes the full wire-format response, including the authority and additional sections, EDNS options, and query round-trip timing, none of which this tool surfaces. For anyone who already lives in a terminal, dig remains the more powerful instrument. This tool exists for the much more common case — "what does this record say right now" — without needing shell access at all.

Wiring a Lookup Into a Deploy Pipeline

The same Cloudflare DoH endpoint this page calls in the browser can be hit from any CI job with a single request: curl -H "accept: application/dns-json" "https://1.1.1.1/dns-query?name=example.com&type=A" returns the identical JSON structure this page renders as a table. Teams running a blue-green cutover or a DNS-based canary release script this as a pre-flight check — the pipeline polls the A record every few seconds until the new IP is visible publicly, rather than proceeding after a fixed sleep timer that might fire before propagation has actually finished. That turns "wait five minutes and hope" into a condition the pipeline can assert against and fail loudly if it's never met.

The same pattern applies before requesting a certificate through an ACME client: query for the CNAME or TXT challenge record the certificate authority expects, and only fire the issuance request once it resolves correctly. Skipping that check burns failed issuance attempts against the CA's rate limit for no benefit.

The Migration Nobody Audited

A common, entirely avoidable incident: a team migrates DNS hosting ahead of a maintenance window. They copy every record visible in the old provider's dashboard into the new one, cut the nameservers over, and move on. Two days later inbound mail starts bouncing. The root cause turns out to be a DKIM TXT record that had been added directly through an API by a marketing automation tool months earlier — it never showed up in anyone's manual migration checklist because nobody thought to look for records that weren't created through the dashboard. By the time it's noticed, the domain's sending reputation has already taken a multi-day hit from failed authentication checks.

The eventual fix is a full record-by-record audit of the old zone — every A, MX, TXT, NS, and CAA entry — cross-checked against what actually got copied to the new provider. Running that audit with a quick lookup tool before decommissioning the old nameservers, rather than after mail starts bouncing, is the five-minute check that would have caught the gap.

Where Engineers Get Tripped Up

Frequently Asked Questions

Which DNS server does this tool use?

This tool queries Cloudflare's DNS-over-HTTPS (DoH) service at 1.1.1.1. DoH encrypts the DNS query inside an HTTPS connection, ensuring your lookups are not visible to network intermediaries such as ISPs or corporate proxies. Results reflect the global public DNS view as seen by Cloudflare's anycast resolver network, which covers over 300 data centres worldwide. This makes it reliable for verifying whether a DNS change has propagated globally, rather than just on your local resolver.

What DNS record types can I look up?

The tool supports A (IPv4 address), AAAA (IPv6 address), CNAME (canonical name alias), MX (mail exchanger, with priority), TXT (free-form text — used for SPF, DKIM, Google Search Console verification, and others), NS (authoritative nameservers), SOA (Start of Authority, containing zone serial and refresh timings), and CAA (Certification Authority Authorization, restricting which CAs can issue certificates for the domain). These cover the full set of records that DevOps and infrastructure teams interact with on a daily basis.

How long does DNS propagation take after changing records?

Propagation time is determined by the TTL (Time to Live) value set on the record being changed — a record with a 300-second TTL will be expired and re-fetched by resolvers within 5 minutes, while one with an 86400-second (24-hour) TTL can take up to a day to propagate fully across the internet. The best practice before a major DNS change such as a domain migration or load balancer cutover is to lower the TTL to 300 seconds at least 48 hours in advance, giving existing caches time to expire. Once you've made the change and confirmed it's working, you can raise the TTL back to a higher value to reduce resolver load. Note that some resolvers ignore TTL values and cache for longer than specified.