DNS CLI Command Reference

Every dcloud dns command. The shape is dcloud <service> <resource> <verb>; every command also takes the global flags (--json, --profile, --dry-run, …).

dcloud dns zones

Domains delegated to the platform nameservers

  • listList hosted zones and the platform nameservers
  • getDescribe a hosted zone and its delegation state
  • createCreate a hosted zone for a domain you own
  • deleteDelete a hosted zone and every record in it
  • check-delegationAsk public resolvers which nameservers the domain delegates to
  • exportThe zone as a master file
  • importAdd records from a zone file, replacing sets with the same name and type

dcloud dns records

Record sets of a hosted zone

  • listList the record sets of a zone
  • setCreate or replace the record set at a name and type
  • updateChange the values or TTL of a record set
  • deleteDelete a record set

dcloud dns query-log

A hosted zone's query log and its logging switch

  • getThe queries the nameservers answered for the zone, newest first
  • setTurn query logging on or off

dcloud dns dnssec

DNSSEC signing of a hosted zone: keys, DS records, rollovers

  • getA zone's DNSSEC status, keys, the DS to put at the registrar and the parent's DS
  • checkAsk public resolvers which DS records the parent zone serves
  • enableSign the zone (ECDSA P-256); returns the DS record for the registrar
  • disableStop signing once the parent no longer serves the DS, or at once
  • rotateStart a rollover of the key-signing (ksk) or zone-signing (zsk) key
  • complete-rolloverFinish a key-signing key rollover now, removing the old key

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