Export DNS zone as BIND file
ALIAS records are included as comments and, when possible, as resolved A records.Authentication
Parameters
Request example
curl --request GET \
--url 'https://api.regfish.com/dns/zones/www.example.com/export' \
--header 'x-api-key: YOUR_API_KEY'Responses
-----BEGIN CERTIFICATE-----
MIID...
-----END CERTIFICATE-----{
"success": false,
"message": "Unauthorized",
"error": "Unauthorized"
}{
"success": false,
"message": "DNS zone not found",
"error": "DNS zone not found"
}{
"success": false,
"message": "Unexpected error",
"error": "Unexpected error"
}Become part of the community
The regfish DNS API is a great solution for developers who want to automate domains and DNS zones. Become part of the community and benefit from DNS automation. The DNS API is available free of charge to every regfish customer.