BIND Authoritative Forward and Reverse DNS
server1 becomes dns1 for ops.example.test. Write the options, the forward zone and the reverse zone by hand, validate them, start named, open the firewall, and prove from the client that the answers are authoritative and that the server refuses to do anything else.
Skill labintermediate~55 minPro
What you'll do
- ✓Configure named as an authoritative-only server bound to loopback and its data address
- ✓Write a forward zone with SOA, NS, A, CNAME and MX records and a reverse zone with PTRs
- ✓Validate configuration and zones with named-checkconf and named-checkzone
- ✓Enable named and open firewalld for DNS, runtime and permanent
- ✓Verify records, the aa flag, NXDOMAIN, and refused recursion and transfers with dig
Lab outline
- 01The ticket
- 02Configure named on server1
- 03Start, open, and prove
Before you start
- DNS Client Resolution and Lookup Troubleshooting
- firewalld Zones and Least-Privilege Access
- Operate systemd Services
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.