Skip to main content
POST
Perform DNS record lookup

Authorizations

Authorization
string
header
required

Bearer token authentication. Use format: Bearer YOUR_API_KEY

Body

application/x-www-form-urlencoded
hostname
string
required

Hostname to lookup DNS records for

Example:

"example.com"

type
enum<string>

DNS record type

Available options:
A,
AAAA,
MX,
TXT,
CNAME,
NS,
SOA,
PTR,
SRV,
CAA
Example:

"A"

dnssec_only
boolean

Only return DNSSEC validated results

Example:

"false"

validate_dnssec
boolean

Validate DNSSEC signatures

Example:

"false"

Response

Successfully retrieved DNS records

status
enum<string>
required

Indicates successful operation

Available options:
success
data
object
required