Records and types
Resolve a single record
Look up one record type for a host, read its TTL and data, and confirm what a public resolver returns right now.
When to use it
Use this when
- You need the current A/AAAA, MX, TXT, CNAME, NS, CAA, or other record for a host.
- You want to confirm what a specific public resolver is serving at this moment.
Steps
Do this
- Pick the record typeOpen Lookup, enter the host, and choose a type — A/AAAA for addresses, MX for mail routing, TXT for verification strings, CNAME for aliases, NS for delegation.
- Choose a resolverCloudflare answers by default. Switch to Google, AdGuard, DNS.SB, or OpenDNS to compare what another operator is serving.
- Read the answerEach row shows the name, type, TTL, and data. Hover any value to copy it, or use Save snapshot to keep a shareable link.
Examples
Copyable commands
curl 'https://dnsbin.ca/api/v1/lookup?name=example.com&type=MX&resolver=cloudflare'
https://dnsbin.ca/?tab=lookup&name=example.com&type=MX&resolver=google
Operational notes
Keep in mind
- TTL is the resolver’s remaining cache lifetime, not the zone’s configured TTL.
- Add mode=client to resolve directly from your browser via DoH, or mode=both to compare your network’s view against the server’s.