get https://{hostname}/config-dns/v2/zones//zone-file
Download this zone's record set data in master zone file format. Use the recipe below to get the master zone file. This operation applies to primary zones and secondary zones. See RFC 1035 section 5 and RFC 1034 section 3.6.1 for more information. AKAMAICDN
and AKAMAITLC
records can't be represented in this format, so they're displayed as comment lines.