Export the zone as a zone file
Returns the zone as an RFC 1035 master file — the BIND format every
provider reads. The inverse of /import.
Worth keeping before a bulk change: the import merges and never deletes, so without a file taken beforehand there is no way back to the previous state.
The records carry the values you CONFIGURED, not the subset a health check is currently answering with. A backup that captured a live failover state would silently drop your primary when restored.
The file cannot describe the whole zone, and says so in its own header: health checks, failover priorities, geo routing variants and private-zone VPC associations have no zone-file representation. Re-importing restores the records; those have to be set up again.
The DNSSEC records are omitted — they sign keys held by this platform and mean nothing elsewhere. The SOA and apex NS are included, as in any zone file; an importer replaces them with its own.
Authorizations
Request signing with an access key issued to a service account. An
HMAC-SHA256 over a canonical form of the request, close to AWS SigV4.
The basaltic CLI signs for you.
Send Authorization, X-Date (UTC, YYYYMMDDTHHMMSSZ) and X-Nonce
(random per request); add X-Content-Sha256 to bind a body, and
X-Amz-Security-Token when using temporary credentials.
<region> is the region code you are calling, or global for the global
services. A signature is valid for 5 minutes from X-Date, and mutating
requests are replay-guarded on the nonce.
Full signing procedure, including a working implementation: https://docs.basaltic.sh/authentication
Rate limits
There is no global request budget. A limit applies only where an
operation documents a 429, and that operation says what it counts.
Those responses carry X-RateLimit-Limit, X-RateLimit-Remaining,
X-RateLimit-Reset and, on a 429, Retry-After — read them rather
than hard-coding a number. Retrying before Retry-After is refused and
extends the window. Everything else is bounded by quota, not by request
rate.
Path Parameters
DNS Zone ID
Response
The zone file
The response is of type string.