v1
latestOpenAPI 3.1.12026-07-17111158225.7 KBzones
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"
}
}