Lesson · 14 pages · about 12 min
DNS and email security: forged answers, lost names, spoofed mail
Names are an attack surface: forged DNS answers against a resolver and the DNSSEC signatures that make them useless, DoH for privacy, a dangling CNAME taken over on a sped-up clock, the Dyn 2016 outage and a second provider, and SPF, DKIM and DMARC deciding what happens to a spoofed invoice.
- What it is
- DNS security protects the answers that turn names into addresses; email security lets a receiver check that a message really comes from the domain in its From line.
- What it is for
- Both were designed with no proof of origin: a forged DNS answer sends users to an attacker, a forgotten record hands out your name, and anyone can send mail as billing@yourshop.
- Use it when
- For every domain you own: registrar MFA and lock, DNSSEC where you can, records removed before what they point at, two DNS providers for critical names, and SPF, DKIM and DMARC on every sending domain.
- Not when
- Do not jump to DMARC p=reject or sign a zone with DNSSEC before checking every sender and the key rollover plan; both fail closed and can make your own mail or site vanish.
Words you’ll learn
- Recursive resolver
- Server
- Cache
- DNS cache poisoning
- TTL
- DNSSEC
- DNS over HTTPS
- MFA
- CNAME record
- Bot or scraper