Get a version's master zone file
GET https://{{host}}/config-dns/v2/zones/:zone/versions/:uuid/zone-file
Downloads the record sets from a prior zone version in master zone file format. This applies to primary and secondary zones.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
"example.com. 10000 IN SOA ns1.akamaidns.com. webmaster.example.com. 1 28800 14400 2419200 86400 example.com. 10000 IN NS ns1.akamaidns.com. example.com. 10000 IN NS ns2.akamaidns.com. example.com. 300 IN A 10.0.0.1 example.com. 300 IN A 10.0.0.2 www.example.com. 300 IN A 10.0.0.1 www.example.com. 300 IN A 10.0.0.2"