DNSSEC uses RSASHA1

Review DNSSEC signing algorithms and preserve the chain of trust during key changes.

Description

For public-zone DNSSEC signing, replace SHA-1-based rsasha1 with an algorithm supported by Cloud DNS and validating resolvers. DNSSEC authenticates the origin and integrity of responses without encrypting them.

Potential impact

A parent DS record that does not match the signing key can prevent validating resolvers from resolving names in the zone.

Remediation

Cloud DNS accepts changes to defaultKeySpecs only while signing is off. For a signed zone, remove the old parent DS and wait for its cached TTL to expire before stopping signing. Configure the key-signing and zone-signing keys, re-enable signing, publish the new matching DS and verify the chain with a validating resolver.

Examples

Both historical Deployment Manager excerpts show state: "on" and compare only the algorithm. Standard support has ended. Use a supported tool and supply the zone name, domain and complete settings for both key types.

Before

yaml
resources:
  - name: dns
    type: dns.v1.managedZone
    properties:
      dnssecConfig:
        state: "on"
        defaultKeySpecs:
          - algorithm: rsasha1

After

yaml
resources:
  - name: dns
    type: dns.v1.managedZone
    properties:
      dnssecConfig:
        state: "on"
        defaultKeySpecs:
          - algorithm: rsasha256

References