DNSSEC with Route 53: Protecting the core of the Internet

Andreas Wittig – 22 Mar 2021

The Internet relies on DNS. This makes it all the more important to do everything possible to protect the global DNS infrastructure from attacks. Andreas explains how DNSSEC protects from DNS spoofing. During the demo you will learn how to enable DNSSEC for your domains by using Route 53.

DNSSEC with Route 53: Protecting the core of the Internet

What you will learn by watching the video and following the demo?

  • Protect from DNS spoofing!
  • What is DNSSEC?
  • How to enable DNSSEC with Route 53?
  • Pros and Cons of DNSSEC

Enjoy the video!

Why is DNSSEC important? Because, DNSSEC protects from the following attach, called DNS spoofing.

  1. Attacker injects DNS records into DNS server/resolver.
  2. User resolves domain name, DNS server responds with “wrong” IP address.
  3. User sends requests to “wrong” server.
  4. Attacker steals password, reads sensitive information, …

DNS Spoofing

The CloudFormation templates used in the video are available at https://github.com/widdix/aws-cf-templates

I’ve used the following commands to deploy DNSSEC to us-east-1. Make sure to modify the stack names and parameters before using the commands.

aws cloudformation deploy --stack-name cloudonautio-key --template-file security/kms-key.yaml --parameter-overrides Service=dnssec-route53 KeySpec=ECC_NIST_P256 KeyUsage=SIGN_VERIFY
aws cloudformation deploy --stack-name cloudonautio-hz --template-file vpc/zone-legacy.yaml --parameter-overrides HostedZoneName=cloudonaut.io HostedZoneId=Z18W2IF733UZVC
aws cloudformation deploy --stack-name cloudonautio-dnssec --template-file vpc/zone-dnssec.yaml --parameter-overrides ParentZoneStack=cloudonautio-hz ParentKmsKeyStack=cloudonautio-key ParentAlertStack=operations-alert

When it comes to DNS, I’m using the book DNS and BIND to learn about the technical details.

A few links discussing DNSSEC:

Andreas Wittig

Andreas Wittig

I’ve been building on AWS since 2012 together with my brother Michael. We are sharing our insights into all things AWS on cloudonaut and have written the book AWS in Action. Besides that, we’re currently working on bucketAV,HyperEnv for GitHub Actions, and marbot.

Here are the contact options for feedback and questions.