dcloud dns zones import-transfer

Copy the zone from its current primary by AXFR (a one-time move), replacing sets with the same name and type

IAM dns:ImportZoneChanges stateAsks before it deletes (-y skips)

The primary must allow a transfer to the addresses in importFrom (zone-transfer get). SOA and apex NS are skipped, as are DNSSEC records and types not served here (listed in skipped). Use dryRun first to see what would be written.

Synopsis

dcloud dns zones import-transfer id --primary primary [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --primaryRequired

    string

    The primary to transfer from: an IP address or a host name. Only public addresses are dialled; a name with any private address is refused

    Constraints: 1-253 chars

  • --portOptional

    number

    TCP port, 1 to 65535. Absent: 53

    Constraints: integer, 1-65535

  • --tsigOptional

    object

    Sign the request and verify every signed answer with this key. Absent: unsigned

    Constraints: JSON

  • --dry-runOptional

    boolean (--dry-run / --no-dry-run)

    Transfer and parse, write nothing: the answer lists what would be imported

Example

dcloud dns zones import-transfer id --primary example

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