Import DNS records from a BIND zone file
Upload a BIND-format zone file (.txt) to bulk-import DNS records into this domain. The file must be sent as multipart/form-data with field name "file". The records are imported, then any records with a TTL below the minimum threshold are corrected, and subdomain NS records found in the file are created separately (NS records are skipped during import). DNS must be enabled on the domain before importing.
Authorizations
Long-lived API token created via POST /api/api-tokens (returned once in plaintext). A token created with readOnly may only perform safe requests (GET, HEAD, OPTIONS); write requests are rejected on every endpoint.
JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer
Parameters
Path Parameters
Organization identifier
domain identifier
Request Body
BIND zone file in plain text format (.txt)
"binary"Responses
Import completed. Returns counts of successful, failed, and skipped records.
