Skip to content

Get DNS records

GET /dns/{domain}/rr

Operation ID: GetRecordsByDomain

List all DNS records stored in the zone for the specified domain.

Name Type Required Description
domain fqdn_relaxed yes
Status Type Description
200 recordResponse The record created, with its new ID
400 Error Invalid request
401 Error Unauthorized
404 Error DNS zone or records not found
500 Error Unexpected error
Field Type Required Description
success boolean yes Success indicator
code integer no Response/Error Code
response recordResponse[] no
Terminal-Fenster
curl -X GET "https://api.regfish.com/dns/<domain>/rr" \
-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.