Interview Prep/Networking/DNS resolution failures

An internal resolver stopped answering and `/var/log/syslog` shows `named: client ... query (cache) denied`.

IntermediateTroubleshootingDNS resolution failures
Answer

Likely causes → BIND allow-query / allow-recursion ACLs don't include the client's subnet (new VPC or subnet added).

Diagnose →

named-checkconf
grep -A5 -E 'allow-(query|recursion)' /etc/bind/named.conf.options
dig @resolver example.com      # status: REFUSED

Fix → Add the new CIDR to the ACL and rndc reconfig.

Prevent → Generate resolver ACLs from the IPAM source of truth.

All Networking questions Roadmap: Networking for DevOps

More on DNS resolution failures