dcloud dns zones import

Add 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 zoneFile

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --zone-fileRequired

    string

    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 example

Generated from the API description, the same one the API checks requests against and the CLI is built from.