WEB-163Optional
Sign your DNS
Sign the DNS zone with DNSSEC, so answers can't be forged. Then add the DS record where you bought the domain.
How to do it
Turn on signing at your DNS host. Publish the DS record it gives you at the registrar.
Examples
Shell example
dig @1.1.1.1 +dnssec example.com A
# Look for "flags: qr rd ra ad" in the answer
How to check
dig @1.1.1.1 +dnssec example.com A shows the ad flag. DNSViz shows a complete chain with no errors.
Sources
Related rules
- INF-35 Keep DNS records in code in Infrastructure and environments
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/website/hosting-and-network/dnssec">Agent Wranglers website playbook</a>. In code you write, add a comment next to it with the same link.