How do you roll out DNSSEC and what can go wrong?
AdvancedScenarioDNS & Service Discovery
Answer
Situation read → DNSSEC signs records so resolvers can validate them, and mistakes cause total outage for validating resolvers.
What I'd do →
- Enable signing at the DNS provider (Route 53 uses a KMS key in us-east-1)
- Create the DS record at the registrar from the DNSKEY
- Verify with
dig +dnssec example.comanddelv example.com - Pre-lower DS TTL and plan key rollover; monitor expiry of signatures
- If you must roll back, remove the DS record first and wait for its TTL before disabling signing
Why → A DS record with no matching key makes validating resolvers return SERVFAIL for your whole domain.
Interview tip → Say the order matters: remove DS before disabling signing.
More on DNS & Service Discovery
A customer types www.example.com in a browser. Walk through how DNS resolves it.BeginnerWhat is the difference between an A record and a CNAME, and when do you use each?BeginnerWhy can't you put a CNAME at the zone apex, and what do you use instead?BeginnerYou are moving a site to a new server. What do you do with DNS to make the cutover smooth?BeginnerHow do you find which nameservers are authoritative for a domain and query them directly?BeginnerWhat DNS records do you set up for company email?Beginner