29tools
New · MCP SuiteYour infrastructure now talks to AI agents.

Claude, Codex & co. manage DNS, domains and certificates directly, including DNS Doctor diagnostics.

Explore the MCP Suite
DNS automation
v1.6.2
Download OpenAPI
Export DNS zone as BIND file
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.
GET
/dns/zones/{domain}/export
DNSZoneExportsByDomain

Authentication

x-api-key

Parameters

Name
Type
Format
Required
Description
domain
path
string
-
Required
Fully Qualified Domain Name.

Request example

GET
curl --request GET \
  --url 'https://api.regfish.com/dns/zones/www.example.com/export' \
  --header 'x-api-key: YOUR_API_KEY'

Responses

200
BIND zone file
text/plain
Response example 200
-----BEGIN CERTIFICATE-----
MIID...
-----END CERTIFICATE-----
401
Unauthorized
application/jsonError
Response example 401
{
  "success": false,
  "message": "Unauthorized",
  "error": "Unauthorized"
}
404
DNS zone not found
application/jsonError
Response example 404
{
  "success": false,
  "message": "DNS zone not found",
  "error": "DNS zone not found"
}
500
Unexpected error
application/jsonError
Response example 500
{
  "success": false,
  "message": "Unexpected error",
  "error": "Unexpected error"
}
Community

Diventa parte della comunità

L'API DNS Regfish è un'ottima soluzione per gli sviluppatori che desiderano automatizzare domini e zone DNS. Entra a far parte della community e beneficia dell'automazione DNS. L'API DNS è disponibile gratuitamente per ogni cliente Regfish.