Interview Prep/Networking/DNS & Service Discovery

Your open resolver is used in a DNS amplification attack. What do you do?

AdvancedScenarioDNS & Service Discovery
Answer

Situation read → Open recursive resolvers answer anyone and amplify small queries into big responses.

What I'd do →

  1. Restrict recursion to your networks (BIND allow-recursion { 10.0.0.0/8; };)
  2. Enable response rate limiting (rate-limit in BIND options)
  3. Use security groups and firewall rules to allow port 53 only from needed sources
  4. Check with an external scan, and dig +short ANY shows large responses
  5. Prefer managed resolvers

Why → Attackers spoof the victim's IP as the source; the resolver sends big responses at the victim.

Interview tip → Mention BCP38 egress filtering as the root fix at ISP level.

All Networking questions Roadmap: Networking for DevOps

More on DNS & Service Discovery