zones

Download a zone file

Download the zonefile for an existing zone.

get/{account}/zones/{zone}/file

Path parameters

accountinteger required

The account id

zonestring required

The zone name

Response

Successfully retrieved zone file.

Example response

{
  "data": {
    "zone": "$ORIGIN example.com.\n$TTL 1h\nexample.com. 3600 IN SOA ns1.dnsimple.com. admin.dnsimple.com. 1453132552 86400 7200 604800 300\nexample.com. 3600 IN NS ns1.dnsimple.com.\nexample.com. 3600 IN NS ns2.dnsimple.com.\nexample.com. 3600 IN NS ns3.dnsimple.com.\nexample.com. 3600 IN NS ns4.dnsimple.com.\n"
  }
}

Changes

Changed in 2 of the 52 revisions of this API.33

    • the response property became required for the status

      response-property-became-required

    • the response property / became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property became optional for the status

      response-property-became-optional

    • the response property / became optional for the status

      response-property-became-optional

    • the response property became optional for the status

      response-property-became-optional

    This revision also has 25 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog