Description
Export zone files from zone.
※Types of Contents:text/dns
※SOA and NS records will be replaced by Designate server.

Request URL

Designate API v2.0

GET /v2/zones/(uuid: id)

Request Paramters

Parameter Value Style Type Description
X-Auth-Token - header string User Token

Request Json



Response File

$ORIGIN example.com.
$TTL 42
example.com. IN SOA ns.designate.com. nsadmin.example.com. (
    1394213803 ; serial
    3600 ; refresh
    600 ; retry
    86400 ; expire
    3600 ; minimum
)
example.com. IN NS ns.designate.com.
example.com.  IN MX 10 mail.example.com.
ns.example.com.  IN A  10.0.0.1
mail.example.com.  IN A  10.0.0.2

Normal response codes

200 - OK

Error response codes

406 – Not Acceptable

Example

curl --include https://dns-service.tyo1.cloud.z.com/v2/zones/6b78734a-aef1-45cd-9708-8eb3c2d26ff1
-X GET
-H "Accept: text/dns"
-H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140"
HTTP/1.1 200 OK
Content-Type: text/dns

$ORIGIN example.com.
$TTL 42
example.com. IN SOA ns.designate.com. nsadmin.example.com. (
    1394213803 ; serial
    3600 ; refresh
    600 ; retry
    86400 ; expire
    3600 ; minimum
)
example.com. IN NS ns.designate.com.
example.com.  IN MX 10 mail.example.com.
ns.example.com.  IN A  10.0.0.1
mail.example.com.  IN A  10.0.0.2