Skip to content

Export DNS zone as BIND file

GET /dns/zones/{domain}/export

Operation ID: ExportDNSZoneBindByDomain

Export the specified zone as a BIND-compatible zone file.

Non-standard ALIAS records are included as comments and, when possible, as resolved A records.

NameTypeRequiredDescription
domainfqdn_relaxedyes-
StatusTypeDescription
200stringBIND zone file
401ErrorUnauthorized
404ErrorDNS zone not found
500ErrorUnexpected error
Terminal window
curl -X GET "https://api.regfish.com/dns/zones/<domain>/export" \
-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.