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 →
- Restrict recursion to your networks (BIND
allow-recursion { 10.0.0.0/8; };) - Enable response rate limiting (
rate-limitin BIND options) - Use security groups and firewall rules to allow port 53 only from needed sources
- Check with an external scan, and
dig +short ANYshows large responses - 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.
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