Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options {
- listen-on port 53 { 127.0.0.1; 192.168.1.1; };
- directory "/var/named";
- dump-file "/var/named/data/cache_dump.db";
- statistics-file "/var/named/data/named_stats.txt";
- memstatistics-file "/var/named/data/named_mem_stats.txt";
- allow-query { localhost; 192.168.1.0/24; };
- recursion yes;
- };
- logging {
- channel default_debug {
- file "data/named.run";
- severity dynamic;
- };
- };
- #for $zone in $forward_zones
- zone "${zone}." {
- type master;
- file "$zone";
- allow-update { 192.168.1.0/24; };
- };
- #end for
- #for $zone, $arpa in $reverse_zones
- zone "${arpa}." {
- type master;
- file "$zone";
- allow-update { 192.168.1.0/24; };
- };
- #end for
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement