Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- acl "trusted" {
- "localhost";
- "localnets";
- 10.0.0.0/8;
- 172.16.0.0/12;
- 192.168.0.0/16;
- };
- logging {
- channel "rpz-queries" {
- file "/var/log/named/myrpz.log" versions 10 size 512000;
- severity info;
- };
- category "lame-servers" {
- "null";
- };
- category "rpz" {
- "rpz-queries";
- };
- };
- options {
- directory "/var/cache/bind";
- hostname none;
- listen-on {
- "any";
- };
- listen-on-v6 {
- "none";
- };
- recursive-clients 5000;
- server-id none;
- version none;
- allow-query-cache {
- "trusted";
- };
- allow-recursion {
- "trusted";
- };
- auth-nxdomain no;
- dnssec-validation no;
- query-source address 0.0.0.0 port 0;
- recursion yes;
- response-policy {
- zone "myrpz";
- };
- allow-query {
- "trusted";
- };
- allow-transfer {
- "none";
- };
- };
- zone "myrpz" {
- type master;
- file "/etc/bind/zones/db.myrpz";
- };
- zone "." {
- type hint;
- file "/usr/share/dns/root.hints";
- };
- zone "localhost" {
- type master;
- file "/etc/bind/db.local";
- };
- zone "127.in-addr.arpa" {
- type master;
- file "/etc/bind/db.127";
- };
- zone "0.in-addr.arpa" {
- type master;
- file "/etc/bind/db.0";
- };
- zone "255.in-addr.arpa" {
- type master;
- file "/etc/bind/db.255";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement