// This is a configuration file for named (bind.exe) (from BIND 8.1 or later). options { /* Security - only allow access to this DNS server from the local network. */ allow-query { localnets; localhost; }; allow-recursion { localnets; localhost; }; allow-transfer { localnets; localhost; }; /* The directory where the other configuration files are kept. Change this to point to the real directory. */ directory "c:\mptn\etc\namedb"; check-names master warn; /* default. */ datasize 20M; deallocate-on-exit yes; /* forward first; */ /* Uncomment this line to send all DNS traffic to ns1 and ns2.earthlink.net. */ /* forwarders { 207.217.126.41; 207.217.77.42; }; */ /* query-source address * port 53; */ }; /* The real addresses for this site. */ zone "eckard.biz" IN { type master; file "eckard.biz.zone"; check-names fail; }; /* The reverse DNS for this site. */ zone "0.168.192.in-addr.arpa" IN { type master; file "0.168.192.zone"; check-names fail; }; /* The localhost zone. */ zone "localhost" IN { type master; file "localhost.zone"; check-names fail; }; /* Reverse DNS for the localhost zone. */ zone "0.0.127.in-addr.arpa" IN { type master; file "0.0.127.zone"; check-names fail; }; /* The next two entries will catch some bogus requests made by stupid resolvers */ zone "0.in-addr.arpa" IN { type master; file "bogus.zone"; }; zone "255.in-addr.arpa" IN { type master; file "bogus.zone"; }; /* The root servers. The root.hint file occasionally needs to be updated when the root servers are changed. See the top of the root.hint file for how to do this. */ zone "." IN { type hint; file "root.hint"; }; logging { /* This sets up logging of the zone transfers and the like to the bind-xfer.log file in the DNS directory. This file is rotated every time it gets to the "size" setting, and the last "versions" number of old files are kept. */ channel xfer-log { file "bind-xfer.log" versions 5 size 200000; print-category yes; print-severity yes; print-time yes; severity info; }; category xfer-in { xfer-log; }; category xfer-out { xfer-log; }; category notify { xfer-log; }; category load { xfer-log; }; /* This sets up logging of the DNS queries to the named.queries file in the DNS directory. This file is rotated every time it gets to the "size" setting, and the last "versions" number of old files are kept. */ channel queries { file "named.queries" versions 5 size 200000; print-time yes; }; category queries { queries; }; };