dcloud dns query-log get

The queries the nameservers answered for the zone, newest first

IAM dns:GetQueryLogRead

One line per query: name, type, rcode, answer count, transport, client network (/24 or /56), DO and ECS flags. Kept seven days. Query counts per zone and rcode are the EWS/DNS Queries metric in monitoring, whether logging is on or not.

Synopsis

dcloud dns query-log get id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --minutesOptional

    number

    How far back, in minutes: 1 to 10080 (the seven days the log keeps), default 60

    Constraints: integer, 1-10080

  • --limitOptional

    number

    At most this many lines, newest first: 1 to 1000, default 200

    Constraints: integer, 1-1000

  • --containsOptional

    string

    Only lines containing this text (a name, a type, an rcode, a client network), at most 253 characters

    Constraints: max 253 chars

Example

dcloud dns query-log get id

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