Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ACL to define allowed networks
- acl "trusted" {
- 192.168.1.0/24; // Example local network
- 10.0.0.0/8; // Another example network
- localhost; // Localhost
- };
- options {
- directory "/var/cache/bind";
- // Allow queries only from trusted networks
- allow-query { trusted; };
- // Allow recursion only from trusted networks
- allow-recursion { trusted; };
- // Disable DNSSEC validation if not required
- dnssec-validation no;
- // Listen on all interfaces
- listen-on { any; };
- listen-on-v6 { any; };
- // Disable transfer of zones by default
- allow-transfer { none; };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement