Ensure that Cloud DNS logging is enabled for all your Virtual Private Cloud (VPC) networks using DNS server policies. Cloud DNS logging records queries that the name servers resolve for your Google Cloud VPC networks, as well as queries from external entities directly to a public DNS zone. Recorded queries can come from virtual machine (VM) instances, GKE containers running in the same VPC network, peering zones, or other Google Cloud resources provisioned within your VPC.
This rule resolution is part of the Conformity Security & Compliance tool for GCP.
excellence
Cloud DNS logging is disabled by default on each Google Cloud VPC network. By enabling monitoring of Cloud DNS logs, you can increase visibility into the DNS names requested by the clients within your VPC network. Cloud DNS logs can be monitored for anomalous domain names and evaluated against threat intelligence.
Audit
To determine if Cloud DNS logging is enabled for all your VPC networks, perform the following operations:
Remediation / Resolution
To enable the Cloud DNS logging feature for your Google Cloud VPC networks, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- Logging and monitoring
- Use the Cloud DNS monitoring dashboard
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud compute networks list
- gcloud dns policies list
- gcloud dns policies describe
- gcloud dns policies update
- gcloud dns policies create