Restricted DNS Caching and Forwarding
Turn server1 into a caching resolver for the client alone: recursion and cache access for one address, every question forwarded to the lab's upstream on server2 and nowhere else. Then prove the cache with TTLs and the upstream's own query log, and prove the outsider is refused.
Skill labintermediate~45 minPro
What you'll do
- ✓Configure named as a recursive resolver with an explicit client ACL for recursion and cache access
- ✓Forward every query to one upstream with forward only and no fallback
- ✓Point a client's NetworkManager profile at the new resolver
- ✓Demonstrate cache reuse with a falling TTL and the upstream's query log
- ✓Show that an unauthorized source is refused recursion and cached answers
Lab outline
- 01Three machines, three roles
- 02Build the resolver on server1
- 03Use it, prove it, refuse the outsider
Before you start
- BIND Authoritative Forward and Reverse DNS
- DNS Client Resolution and Lookup Troubleshooting
- firewalld Zones and Least-Privilege Access
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.