Skip to content

Raw DNS lookup via DoH

GET /api/v1/lookup/{name}/{type}
Name Type Required Description
name string yes DNS name; an IP address is accepted for type PTR.
type string yes
Status Type Description
200 LookupResult DNS answer
400 object Error
429 object Error
502 object Error
Field Type Required Description
api string no
name string no
type string no
typeCode integer no
status integer no DNS RCODE (0 NOERROR, 3 NXDOMAIN, …)
ad boolean no DNSSEC-validated by the resolver
answers object[] no
Terminal-Fenster
curl -X GET "https://dns-doctor.com/api/v1/lookup/<name>/<type>" \
-H "Authorization: Bearer $REGFISH_API_KEY"

Fill in values — the call below updates as you type. Nothing is sent: the API does not currently allow browser requests from this domain (CORS). The API key is not stored.