What is DNS Lookup?
This DNS lookup tool queries A, AAAA, CNAME, MX, TXT, NS, SOA, and CAA records through a public DNS-over-HTTPS resolver and shows the TTL for each answer. Browsers have no ability to issue DNS queries of their own, so this step is proxied through this site's server.
How to use DNS Lookup
- 1Enter a domain name and choose a record type.
- 2Click Look up to see the records and their TTLs.
- 3When debugging resolution problems, start with the NS and SOA records to confirm which authoritative servers are actually in charge.
How do I do this in code?
Use the tool above for one-off work; for anything you repeat, move it into a script or your project.
# Look up A records dig +short example.com A # Query a specific resolver, bypassing the local cache dig @1.1.1.1 example.com MX # Trace the full delegation path dig +trace example.com
Frequently asked questions
Why do these results differ from dig on my own machine?+
The two queries take different paths. This tool goes through a public resolver, while your machine most likely uses your ISP's resolver or your company's internal DNS, and those can differ in both cache state and resolution policy. A discrepancy right after you change a record is normal; the answers converge once the old TTL expires.
What TTL value should I use?+
Somewhere between 300 and 3600 seconds is a sensible default for day-to-day use. Before a planned migration, lower the TTL to 60 seconds and wait for the old TTL to expire, then raise it again after the cutover. That keeps the window of inconsistent answers as short as possible.
Do you log the domains I look up?+
This site's server only forwards the query; it does not store it or keep a record of what you looked up. Be aware, though, that the upstream public resolver has its own logging policy, so if you are troubleshooting internal domain names, run dig from inside your own network instead.
Related tools
All toolsHTTP Status Codes
HTTP status code reference with likely causes and where to look
URL Parser
Break a URL into its components and query parameters
MIME Type Lookup
MIME type and file extension reference
User Agent Parser
Parse a User-Agent string into browser and OS details
CIDR Subnet Calculator
CIDR subnet calculator with membership checks
HTTP Header Analyzer
Inspect response headers and security header coverage