dcloud dns query-log set

Turn query logging on or off

IAM dns:UpdateQueryLoggingChanges state

Takes effect within one nameserver pull; lines arrive about a minute later.

Synopsis

dcloud dns query-log set id --enabled enabled

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --enabledRequired

    boolean (--enabled / --no-enabled)

    Log every answered query of the zone

Example

dcloud dns query-log set id --enabled

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