What it does
The tool performs a DNS lookup for a domain name and returns information for the selected DNS record type. It is designed for single, interactive queries: enter a name, choose one of the supported record types, run the lookup, and inspect the result. The supported choices are A, AAAA, CNAME, MX, NS, PTR, SOA, and TXT. These record types cover common DNS needs, including IPv4 and IPv6 addresses, aliases, mail exchange information, name servers, reverse records, zone authority information, and text records.
Although the interface performs local processing, the DNS resolution is not completed entirely in the browser. The lookup calls the backend endpoint /api/tools/dns-lookup?domain=${encodeURIComponent(cleanDomain)}&type=${encodeURIComponent(recordType)}, so the domain name and selected record type are included in a request to the service. The implementation also calls /tools/${tool.slug}/use. Results are not updated live while typing; a lookup must be submitted, and changing the input or record type requires another submission. The tool includes a built-in example using example.com and can copy the resulting information to the clipboard.
When to use it
- Check the IPv4 address for a hostname. Select A to retrieve the IPv4 records currently published for a domain.
- Check IPv6 availability. Select AAAA when you need the IPv6 records associated with a hostname.
- Inspect mail routing. Select MX to find the mail exchangers published for a domain.
- Identify authoritative name servers. Select NS when you need the name servers listed for a domain.
- Examine text-based DNS records. Select TXT when checking verification, configuration, or other text records published for a domain.
- Look up a canonical name. Select CNAME to determine whether a hostname points to another DNS name.
- Perform a one-off troubleshooting check. Use the tool when you need a quick result for one domain and record type without installing a command-line DNS client.
How to use it
- Locate the field labeled Domain Name. The field accepts a hostname such as example.com. The tool does not accept a file containing names; each query is based on text you paste or type.
- Enter the domain name, or use the built-in example value, example.com. Remove any surrounding whitespace before submitting the lookup because the tool cleans the entered value before sending it to the DNS endpoint.
- Locate the field labeled Record Type and choose the DNS record information you want. The available values are A, AAAA, CNAME, MX, NS, PTR, SOA, and TXT.
- Activate the tool’s lookup or submit action. The tool does not publish a separate button label, so there is no additional exact wording to reproduce. The lookup does not run automatically as you type.
- Wait for the request to complete. The browser sends the cleaned domain name and selected record type to the backend DNS lookup endpoint. A successful result contains the DNS information returned for that combination of domain and record type.
- Review the displayed result. If you need to retain it, use the tool’s copy-to-clipboard capability to copy the available output. If you change the domain or record type, run the lookup again rather than expecting the current result to refresh automatically.
Worked example
Suppose you want to see the IPv4 records for the built-in example domain. Enter example.com in the field labeled Domain Name. Open the Record Type choice and select A, then activate the lookup action. Because the tool does not auto-run, pressing the action is required to send the request.
The expected successful output is the DNS A-record answer for example.com: information identifying the queried domain together with the IPv4 address data returned by DNS for it. A domain can legitimately have more than one A record, so the result may contain multiple addresses. The tool does not define a fixed output layout, a fixed set of records, or a guaranteed current IP address, and the address for example.com should not be assumed to remain constant.
For a different check, select MX instead and run the lookup again. The new result should describe the mail exchange records published for the same domain. Switching from A to MX does not transform the previous result; it starts a new backend request using the newly selected record type. You can then copy the displayed information if it is needed elsewhere.
Limitations and edge cases
- There is no file input. The tool works only with text that is pasted or typed. It cannot open a zone file, upload a list of domains, or read names from a local document. Use a bulk DNS-processing script or a purpose-built bulk lookup service when many names must be checked from a file.
- There is no live or real-time updating. The output does not change while you type, and changing the record type does not refresh the result automatically. You must submit another lookup.
- Only the listed record types are available. The tool does not offer additional DNS record categories. For DNSSEC analysis, delegation tracing, DNS cache inspection, or advanced resolver diagnostics, use a dedicated DNS diagnostic utility.
- No numeric limit is published. The tool states no maximum domain length, maximum result count, timeout, or output-size limit. This means no specific numeric ceiling can be relied upon, not that unlimited input is guaranteed. Do not use it as a high-volume query service.
- State is not retained between visits. The tool does not use local storage, so it does not preserve the previous domain, selected record type, or result as a saved session.
- There is no file download. Results can be copied to the clipboard, but the tool cannot export them as a file. If you need a downloadable report, structured archive, or automated output stream, use another tool.
- The lookup depends on a backend and live DNS behavior. Results can change as DNS records are added, removed, or updated. A successful query reflects the response received at lookup time, not a permanent property of the domain.
Troubleshooting
- Problem: The tool reports “Please enter a domain name”.
Fix: Enter a non-empty value in the Domain Name field and run the lookup again. This message indicates that the required domain text is missing. - Problem: The tool displays “DNS query failed”.
Fix: Confirm that the domain is correct, then submit the lookup again. The tool does not define the specific transport, resolver, or network conditions behind this message, so it does not support a more specific diagnosis. - Problem: The tool displays “Lookup failed: ${e.message}”.
Fix: Read the detail appended to the message and verify the entered domain and selected Record Type. The literal ${e.message} shown in the source is a placeholder for the underlying error text rather than a complete explanation. - Problem: The result still shows information for the previous record type after you change the selection.
Fix: Run the lookup again after changing Record Type. The tool does not update output live and does not automatically rerun a completed query. - Problem: You want to test many domains at once.
Fix: Use a different tool designed for bulk DNS queries. This tool has no file upload, count control, batch mode, or automatic multi-domain processing. - Problem: You need to keep a permanent record of the output.
Fix: Copy the result and save it using another application. The tool can copy to the clipboard, but it has no download function and does not remember state between visits.
Frequently asked questions
Does the tool perform the DNS lookup entirely in the browser? No. The interface performs local processing, but the lookup itself calls a backend endpoint. The domain and record type are sent in the lookup request, so this should not be described as a completely offline or entirely browser-only DNS resolver.
Which DNS record types can I select? The available choices are A, AAAA, CNAME, MX, NS, PTR, SOA, and TXT. Select one of these in Record Type before running the lookup.
Can I upload a DNS zone file or a list of domains? No. There is no file input, and the tool cannot open, upload, or read local files. It operates on a domain name that you paste or type.
Does the result update while I type? No. The tool does not auto-run and does not provide live output. Submit the lookup after entering the domain and choosing the record type; run it again whenever either value changes.
Can I download the lookup result? No. The tool can copy the available result to the clipboard, but it has no file-download capability. Use a separate application to save copied output if you need a local record.
Is there a published maximum number of records or a maximum domain length? No numeric limit is published. Do not infer a specific limit from the interface, and use a different service if you need documented bounds for automated or high-volume work.
Will the result always contain the same DNS records? No. DNS information can change between queries. The result represents the data returned by the backend lookup at the time the request completes, and a domain may have multiple records for some record types.
Does the tool save my previous query? No. It does not use local storage and does not remember state between visits. Copy any result you need before leaving the page.
When is a different DNS tool better? Use a command-line resolver or specialized DNS utility for scripted comparisons, extensive record inventories, delegation tracing, DNSSEC inspection, batch processing, or detailed network diagnosis. This tool is best suited to a quick, interactive lookup for one domain and one selected record type.