DNS API-Referenz
v1.6.2
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
Authentifizierung
Parameter
Name
Typ
Format
Pflicht
Description
domain
string
-
Pflicht
Fully Qualified Domain Name.
Request-Beispiel
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
Response-Beispiel 200
-----BEGIN CERTIFICATE-----
MIID...
-----END CERTIFICATE-----401
Unauthorized
Response-Beispiel 401
{
"success": false,
"message": "Unauthorized",
"error": "Unauthorized"
}404
DNS zone not found
Response-Beispiel 404
{
"success": false,
"message": "DNS zone not found",
"error": "DNS zone not found"
}500
Unexpected error
Response-Beispiel 500
{
"success": false,
"message": "Unexpected error",
"error": "Unexpected error"
}Verwandte Modelle
Community
Werden Sie ein Teil der Community
Das DNS API von regfish ist die perfekte Lösung für Entwickler, die ihre Domains und DNS-Zonen automatisieren möchten. Werden Sie Teil der Community und profitieren Sie von den Vorteilen der DNS-Automatisierung. Das DNS API steht jedem regfish-Kunden kostenlos zur Verfügung.