Resource

dcloud_dns_query_log

Query logging of a hosted zone: every answered query is logged (read it with the API, CLI or console). Destroying it turns logging off.

Example Usage

resource "dcloud_dns_query_log" "example" {
  zone_id = dcloud_dns_zone.example.id
  enabled = true
}

Schema

Required

  • enabled (Boolean) Log every answered query of the zone
  • zone_id (String) The id of the parent resource ({id} in the path). Changing it replaces the resource.

Read-Only

  • id (String) The resource's id.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

terraform import dcloud_dns_query_log.example <zone-id>

Generated from the provider's schema.