Skip to content

Get DNS zone details

GET /dns/zones/{domain}

Operation ID: GetDNSZoneByDomain

Retrieve the complete DNS zone for the specified domain.

The response includes SOA metadata, delegated nameservers, DNSSEC status, record counts, and all records stored in the zone, including NS records.

NameTypeRequiredDescription
domainfqdn_relaxedyes-
StatusTypeDescription
200dnsZoneDetailResponseDetailed DNS zone
401ErrorUnauthorized
404ErrorDNS zone not found
500ErrorUnexpected error
FieldTypeRequiredDescription
successbooleanyesSuccess indicator
codeintegernoResponse/Error Code
responsednsZoneDetailResponseno-
Terminal window
curl -X GET "https://api.regfish.com/dns/zones/<domain>" \
-H "x-api-key: $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.