Skills catalog Domain intelligence

DNS Trace

Performs iterative DNS queries like dig +trace, showing each referral, queried server, response code, timing, and CNAME target. Use to investigate where DNS resolution stops.

dnstrace v1 open live

Use This Skill

Endpoints

Method Path Status Modes
GET/POST /api/v1/dns-trace live json

Input Contract

Provide domain as an ASCII DNS name (punycode for IDNs), including optional subdomains or underscore labels. A trailing dot is accepted. Optional type: A (default), AAAA, NS, MX, TXT, SOA, CAA, or CNAME. URLs, IP addresses, and custom DNS servers are not accepted.

Output Contract

Returns skill=dnstrace, domain, type, status (ok, warning, broken, incomplete), outcome, summary, broken_at (a one-based hop or null), hop_count, duration_ms, observed_at, chain, answers, warnings, address_lookups and scope. Each chain hop includes zone, query_name, type, status, attempts and delegation; CNAME hops include alias_target. Attempts include server name/address, status, duration_ms, rcode, authoritative and answer/authority/additional records when available. Records contain name, ttl, type and data. A failed attempt followed by a usable answer produces warning. Authoritative NXDOMAIN or NODATA completes the path and does not imply broken DNS.

Errors

HTTP 422 for invalid input. DNS failures return HTTP 200 with the diagnostic result: broken means no tested server gave a usable response, or an alias loop was detected. incomplete means time/hop/probe limits, missing nameserver addresses or unavailable dig prevented a conclusion. Never report incomplete as proof of broken DNS. Read warnings even when an alternate server completes the path.

Auth and Limits

Anonymous API. Human form uses CSRF and reCAPTCHA.

10 traces per minute per IP plus the standard API throttle. A trace has a 20-second budget, 16-hop limit and up to 4 server addresses tested per hop.

Examples

Requests

GET /api/v1/dns-trace?domain=www.example.com&type=A
POST /api/v1/dns-trace {"domain":"example.com","type":"MX"}

Responses

{"skill":"dnstrace","domain":"example.com","type":"A","status":"ok","outcome":"answer","broken_at":null,"hop_count":3,"summary":"Reached an authoritative A answer."}

FAQ

Is this a network traceroute or DNSSEC validation?

It follows DNS delegations and CNAMEs, not IP router hops. It does not validate DNSSEC.

Does this test every nameserver?

No. This samples one path from DomainHelp over IPv4 and retries alternate servers when needed. AAAA records can be queried, but IPv6-only nameservers cannot be contacted in this version. Missing parent glue uses the configured recursive resolver to obtain public IPv4 nameserver addresses; those auxiliary queries are listed separately.

How should an agent interpret a failed trace?

Report the outcome, broken_at, and failing attempts with their zone, server and response code. Distinguish incomplete observations from failures. A server timeout describes the view from DomainHelp and is not proof of a global outage.

Related Skills