options { directory "/var/cache/bind"; // Listen on all interfaces listen-on port 53 { any; }; listen-on-v6 port 53 { ::1; }; // Allow queries from your local network (adjust subnet as needed) allow-query { any; }; // Disable recursion for authoritative-only server recursion no; dnssec-validation auto; auth-nxdomain no; };