DNS Security: Protecting Your Domain at the Foundation
Your DNS records are the foundation of your security. Misconfigure them and everything falls apart.
DNS is the first thing attackers target. If they can redirect your traffic, no amount of server-side security matters.
Critical DNS records for security
- SPF - Who can send email for your domain
- DMARC - What to do with spoofed email
- DKIM - Email authenticity verification
- CAA - Which CAs can issue certificates
- DNSSEC - Prevents DNS cache poisoning
Common mistakes
- Using default nameservers from your registrar
- Not enabling DNSSEC
- SPF record with too many lookups (max 10)
- DMARC with p=none
- No CAA record allowing any CA to issue certs