DNS Lookup
Query A, AAAA, MX, NS, TXT, CNAME and SOA records for any domain in real time.
Frequently Asked Questions
How does the DNS Lookup tool work?
It sends your query to Cloudflare's DNS over HTTPS (DoH) API at 1.1.1.1. The request goes from your browser directly to Cloudflare — StackUtils servers are not involved.
Which DNS record types are supported?
A, AAAA, MX, NS, TXT, CNAME, and SOA records.
Why would I use DNS over HTTPS instead of a terminal?
DNS over HTTPS works in any browser without installing tools. It's useful for quick lookups during web development or debugging.
Can I look up an IP address?
This tool is designed for domain names. For IP address information, use the IP Address Info tool.
How DNS Resolution Works
The Domain Name System (DNS) is the internet's phonebook: it translates human-readable domain names likeexample.cominto machine-readable IP addresses like93.184.216.34. When you type a URL in your browser, the following happens in milliseconds:
- Browser checks its local DNS cache.
- If not cached, asks the OS resolver (your router or ISP).
- The recursive resolver contacts a Root Name Server (.com, .org, etc.).
- The root server refers to the TLD Name Server for that extension.
- The TLD server refers to the domain's Authoritative Name Server.
- The authoritative server returns the final DNS record.
DNS Record Types Reference
| Type | Full name | Purpose |
|---|---|---|
| A | Address | Maps domain to IPv4 address |
| AAAA | IPv6 Address | Maps domain to IPv6 address |
| CNAME | Canonical Name | Alias of one domain to another (never IP) |
| MX | Mail Exchange | Mail server(s) for the domain |
| NS | Name Server | Authoritative DNS servers for the domain |
| TXT | Text | SPF, DKIM, DMARC, site verification tokens |
| SOA | Start of Authority | Primary NS, admin email, serial, TTLs |
| PTR | Pointer | Reverse DNS — IP to domain mapping |
| SRV | Service | Service location (port + target for VoIP, etc.) |
Common DNS Debugging Scenarios
- Verify email deliverability — check that your domain has valid MX records and a TXT record with your SPF policy (
v=spf1 ...). - Confirm DKIM setup — look up
selector._domainkey.yourdomain.comas a TXT record. - Check DMARC policy — query
_dmarc.yourdomain.comTXT record. - Trace DNS propagation — after changing records, query multiple resolvers to confirm the new value is live.
- Detect misconfigured CNAME chains — CNAME records must not point to another CNAME in MX or NS records (RFC 2181).