get https://api.linode.com//domains//zone-file
Returns the zone file for the last rendered zone for the specified domain.
linode-cli domains zone-file 123
Learn more...
domains:read_only
Learn more...
Responses
Returns the zone file for the last rendered zone for the specified domain.
linode-cli domains zone-file 123
Learn more...
domains:read_only
Learn more...
xxxxxxxxxx
curl --request GET \
--url https://api.linode.com/v4/domains/domainId/zone-file \
--header 'accept: application/json'
xxxxxxxxxx
12{
"zone_file": [
"; example.com [123]",
"$TTL 864000",
"@ IN SOA ns1.linode.com. user.example.com. 2021000066 14400 14400 1209600 86400",
"@ NS ns1.linode.com.",
"@ NS ns2.linode.com.",
"@ NS ns3.linode.com.",
"@ NS ns4.linode.com.",
"@ NS ns5.linode.com."
]
}