DNS Lookup Parser
Parse dig answer lines into structured A, AAAA, CNAME, MX, TXT and NS records with host, TTL and value, and flag TTLs longer than 24 hours.
DNS Lookup Parser
Output
Working…Updated . Provided as is. Check the output before you rely on it in production.
How to use DNS Lookup Parser
- 1
Run dig or nslookup
Run a query such as dig example.com ANY and copy the answer section.
- 2
Paste the output
Paste it into the tool, or load the sample.
- 3
Read the records
Each record is normalized into name, TTL, class, type and value.
- 4
Check the warnings
Unusually high TTLs (over 24 hours) and input with no parseable records are flagged.
Questions and answers
Does it perform the DNS lookup?
Which record types are supported?
Use it as an API
DNS Lookup Parser is also callable as a free HTTP JSON API at
https://aidevhub.io/api/dns-lookup/ — GET with query
parameters or POST with a JSON body, no authentication, CORS enabled, fair use
(abusive traffic is throttled at the edge; there is no per-request quota header). Responses return
{ ok, tool, result, meta }.
curl -s -X POST https://aidevhub.io/api/dns-lookup/ \
-H "Content-Type: application/json" \
-d '{"output":"example.com. 300 IN A 93.184.216.34\nexample.com. 300 IN MX 10 mail.example.com."}' Machine-readable contract: /api/tool/dns-lookup.json All API endpoints: /agents/ LLM site index: /llms.txt
For AI agents: how to call this tool
Machine-readable contract, endpoints and examples. Humans can ignore this section.
Best Path For Builders
Dedicated API endpoint
Deterministic outputs, machine-safe contracts, and production-ready examples.
Dedicated API
https://aidevhub.io/api/dns-lookup/ OpenAPI: https://aidevhub.io/api/openapi.yaml
Unified Runtime API
https://aidevhub.io/api/tools/run/?toolId=dns-lookup&a=example.com.%20300%20IN%20A%2093.184.216.34%0Aexample.com.%20300%20IN%20MX%201
GET and POST are supported at /api/tools/run/ with identical validation and limits.
Limit: 10 req / 60s, input max 512 KB.