Here is the bind configuration:
options {
directory "/var/bind";
pid-file "/var/run/named/named.pid";
allow-transfer { none; };
listen-on port 53 { any; };
};
logging {
channel log {
file "/var/log/named/named.log" versions 3 size 5m;
severity dynamic;
print-time yes;
print-severity yes;
print-category yes;
};
category default { log; };
category general { log; };
category config { log; };
category queries { log; };
category network { log; };
category notify { log; };
};
view "private" {
match-clients { 127.0.0.1; 192.168.0.1/24; };
recursion yes;
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "pri/localhost.zone";
allow-update { none; };
notify no;
};
zone "127.in-addr.arpa" IN {
type master;
file "pri/localhost-rev.zone";
allow-update { none; };
notify no;
};
zone "d45h.net" IN {
type master;
file "pri/private.zone";
allow-update { none; };
notify no;
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "pri/private-rev.zone";
allow-update { none; };
notify no;
};
};
view "public" {
match-clients { any; };
match-destinations { any; };
recursion no;
zone "d45h.net" {
type master;
file "pri/public.zone";
allow-query { any; };
allow-update { none; };
notify no;
};
zone "45.79.64.in-addr.arpa" IN {
type master;
file "pri/public-rev.zone";
allow-query { any; };
allow-update { none; };
};
};


Reply With Quote

Bookmarks