1. Goal
Use BIND as a local resolver with cache, forwarders, and basic DNS checks.
2. Files and components involved
/etc/named.conf
/etc/rc.d/rc.bind
/var/named
3. Operational flow
chmod +x /etc/rc.d/rc.bind
vi /etc/named.conf
configure forwarders
/etc/rc.d/rc.bind start
4. Operational verification
named-checkconf /etc/named.conf
dig @127.0.0.1 slackware.com
ss -lntup
grep :53
5. Practical notes
After every restart, check listening sockets, logs, permissions, and the users accessing the service.
Before exposing the service in production, test access from a validation host and check any ACLs or firewall rules.
Quick checklist
[ ] Backup or copy of the existing configuration completed
[ ] Files and commands updated as expected
[ ] Local test completed successfully
[ ] Logs or final output verified
[ ] Rollback procedure documented