All URIs are relative to https://dns.de-fra.ionos.com
Method | HTTP request | Description |
---|---|---|
zones_zonefile_get | GET /zones/{zoneId}/zonefile | Retrieve a zone file |
zones_zonefile_put | PUT /zones/{zoneId}/zonefile | Updates a zone with a file |
zones_zonefile_get(zone_id)
Retrieve a zone file
Returns an exported zone file in BIND format (RFC 1035).
Name | Type | Description | Notes |
---|---|---|---|
zone_id | str | The ID (UUID) of the DNS zone. |
void (empty response body)
tokenAuth
- Content-Type: Not defined
- Accept: text/plain, application/json
RecordReadList zones_zonefile_put(zone_id, body)
Updates a zone with a file
Updates a zone with zone file in BIND format (RFC 1035). All records in the zone are replaced with the ones provided.
Name | Type | Description | Notes |
---|---|---|---|
zone_id | str | The ID (UUID) of the DNS zone. | |
body | str | Zone file in BIND format (RFC 1035). In order to support import files from other sources, the bind zone file can contain SOA and NS records, but these records will be ignored. |
tokenAuth
- Content-Type: text/plain
- Accept: application/json