dcloud dns zones importAdd records from a zone file, replacing sets with the same name and type
IAM dns:ImportZoneChanges stateAsks before it deletes (-y skips)
SOA and apex NS lines are skipped. Any invalid line fails the whole import.
Synopsis
dcloud dns zones import id --zone-file zoneFileArguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--zone-fileRequiredstring
RFC 1035 master-file text, 1 to 1,000,000 characters. $ORIGIN and $TTL are honoured (TTL 300 until a $TTL line); other $ directives, SOA and apex NS lines are skipped and reported
Constraints: 1-1000000 chars
Example
dcloud dns zones import id --zone-file exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.