Control: 3.3 Ensure That DNSSEC Is Enabled for Cloud DNS
Description
Cloud Domain Name System (DNS) is a fast, reliable and cost-effective domain name system that powers millions of domains on the internet. Domain Name System Security Extensions (DNSSEC) in Cloud DNS enables domain owners to take easy steps to protect their domains against DNS hijacking and man-in-the-middle and other attacks.
Domain Name System Security Extensions (DNSSEC) adds security to the DNS protocol by enabling DNS responses to be validated. Having a trustworthy DNS that translates a domain name like www.example.com into its associated IP address is an increasingly important building block of today’s web-based applications. Attackers can hijack this process of domain/IP lookup and redirect users to a malicious site through DNS hijacking and man-in-the-middle attacks. DNSSEC helps mitigate the risk of such attacks by cryptographically signing DNS records. As a result, it prevents attackers from issuing fake DNS responses that may misdirect browsers to nefarious websites.
Remediation
From Console
- Go to
Cloud DNS
by visiting https://console.cloud.google.com/net-services/dns/zones. - For each zone of
Type Public
, setDNSSEC
toOn
.
From Command Line
Use the below command to enable DNSSEC
for Cloud DNS Zone Name.
gcloud dns managed-zones update ZONE_NAME --dnssec-state on
Default Value
By default DNSSEC is not enabled.
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.cis_v300_3_3
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.cis_v300_3_3 --share
SQL
This control uses a named query:
dns_managed_zone_dnssec_enabled