Route 53 DNSSEC Disabled
route53-dnssec-disabled
What this rule checks
Detects Route 53 hosted zones without DNSSEC signing enabled.
How to fix it
- 1Create an AWS::Route53::DNSSEC resource for the hosted zone
- 2Configure a key-signing key (KSK)
import * as route53 from 'aws-cdk-lib/aws-route53';
new route53.PublicHostedZone(this, 'Zone', { zoneName: 'example.com' });import * as route53 from 'aws-cdk-lib/aws-route53';
const zone = new route53.PublicHostedZone(this, 'Zone', { zoneName: 'example.com' });
new route53.CfnDNSSEC(this, 'Dnssec', { hostedZoneId: zone.hostedZoneId });CDK Insights pinpoints the exact file and line in your CDK source for every finding, so you can jump straight to the fix.
Affected resource types
AWS::Route53::HostedZoneAWS::Route53::DNSSECIntentional? Suppress this finding
Sometimes a flag is deliberate โ a genuinely public endpoint, say. You can dismiss route53-dnssec-disabled and the reason is kept in the report, not silently hidden.
In .cdk-insights.json:
{
"ignoreRules": [
{ "id": "route53-dnssec-disabled", "reason": "Why this is intentional" }
]
}Or inline in your CDK code:
Validations.of(scope).acknowledge({
id: 'cdk-insights::route53-dnssec-disabled',
reason: 'Why this is intentional',
});Use the rule ID route53-dnssec-disabled shown above โ not the CDK-* ID from SARIF / GitHub code scanning. To dismiss every finding on one construct instead, use ignorePaths. Suppression docs โ
Catch this in your stack
$ npx cdk-insights scanCDK Insights runs this and 118+ other rules locally against your synthesised CDK app โ free, no account, your code never leaves your machine.