Skip to content

Raw DNS lookup via DoH

GET /api/v1/lookup/{name}/{type}
NameTypeRequiredDescription
namestringyesDNS name; an IP address is accepted for type PTR.
typestringyes-
StatusTypeDescription
200LookupResultDNS answer
400objectError
429objectError
502objectError
FieldTypeRequiredDescription
apistringno-
namestringno-
typestringno-
typeCodeintegerno-
statusintegernoDNS RCODE (0 NOERROR, 3 NXDOMAIN, …)
adbooleannoDNSSEC-validated by the resolver
answersobject[]no-
Terminal window
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.