Description
DNSSEC on a public Cloud DNS zone lets a validating resolver check the origin and integrity of an answer. DNS data remains unencrypted.
Potential impact
Without signatures, a resolver cannot authenticate an answer from the zone. A stale or incorrect parent DS record can also make valid answers fail validation.
Remediation
Set dnssec_config.state = "on" for the public zone. Register the DS for its generated key-signing key with the registrar or parent zone. Check that a validating resolver authenticates an answer. Follow the Cloud DNS DS and TTL transition procedure when changing keys. Before turning signing off, remove the parent DS and wait for cached copies to expire.
Examples
The examples change only the signing state on the same public zone. Supply the actual name and domain and configure the parent delegation and DS separately.
Before
resource "google_dns_managed_zone" "example" {
name = "foobar"
dns_name = "foo.bar."
dnssec_config {
state = "off"
non_existence = "nsec3"
}
}
After
resource "google_dns_managed_zone" "example" {
name = "foobar"
dns_name = "foo.bar."
dnssec_config {
state = "on"
non_existence = "nsec3"
}
}