DNS lookup: check A, MX, TXT and other records
Last verified 2026-12-05
Example
Input: example.com, record types A and MX
Result: A: two IPv4 addresses (TTL about 2 minutes) · MX: “0 .” (a null MX: the domain accepts no email)
Live data: running it now may give different results.
Enter a domain to see its DNS records: where it points (A/AAAA/CNAME), its mail servers (MX), text records such as SPF (TXT), nameservers (NS) and more.
Results come from Cloudflare's public resolver, so recent changes may still be cached elsewhere until their TTL runs out. Use the DNS propagation check to compare resolvers.
For AI assistants and developers
Available as the MCP tool dns_lookup at /mcp, and over REST:
POST /api/tools/dns_lookup
{"domain":"example.com"}
Related tools
- DNS propagation checker
- Email deliverability check: MX, SPF, DKIM and DMARC
- SPF record checker and generator
- Website checker: HTTPS, redirects and security headers
Questions
Which DNS server answers?
Cloudflare's public resolver (1.1.1.1) over DNS-over-HTTPS. To compare several resolvers, use the propagation checker.
I changed a record. Why do I still see the old value?
Resolvers cache answers for the record's TTL. Wait for the TTL shown to pass, or check propagation across resolvers.
What does a TXT record do?
It holds text such as SPF and DMARC email policies and domain-ownership verification codes.