Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@dev-teadc1 sbin]# cat /etc/named.conf
- //
- // named.conf
- //
- // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
- // server as a caching only nameserver (as a localhost DNS resolver only).
- //
- // See /usr/share/doc/bind*/sample/ for example named configuration files.
- //
- options {
- recursion yes;
- check-names master warn;
- check-names slave warn;
- check-names response warn;
- listen-on port 53 {
- 10.2.2.6;
- 127.0.0.1;
- };
- allow-query {
- 10.0.2.0/24;
- 10.2.2.0/24;
- 127.0.0.1;
- };
- allow-recursion {
- 10.2.2.0/24;
- 127.0.0.1;
- };
- allow-update {
- 10.2.2.0/24;
- 127.0.0.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";
- # tkey-gssapi-credential "DNS/winteal.tundraeng.com";
- # tkey-domain "WINTEAL.TUNDRAENG.COM";
- notify yes;
- # forward first;
- forwarders {
- 10.2.2.1;
- };
- };
- logging {
- channel update_debug {
- file "/var/log/update-debug.log";
- severity debug 10;
- print-category yes;
- print-severity yes;
- print-time yes;
- };
- category dnssec {update_debug; };
- category update-security {update_debug; };
- channel default_debug {
- file "/var/log/named_debug.log";
- severity debug 99;
- print-category yes;
- print-severity yes;
- print-time yes;
- };
- category lame-servers {null; };
- category edns-disabled { null; };
- };
- #logging {
- # channel default_debug {
- # file "data/named.run";
- # severity dynamic;
- # };
- #};
- key rndckey {
- algorithm hmac-md5;
- secret "nMPv0uFw4T3T8CQOp0hQGQ==";
- };
- controls {
- inet 10.2.2.6 port 953 allow { 127.0.0.1; 10.2.2.6; 10.2.2.1; } keys { rndckey; };
- };
- zone "." IN {
- type hint;
- file "named.ca";
- };
- zone "winteal.tundraeng.com" {
- type master;
- file "/var/named/winteal.tundraeng.com.hosts";
- };
- zone "2.2.10.in-addr.arpa" {
- type master;
- file "/var/named/10.2.2.rev";
- };
- include "/etc/named.rfc1912.zones";
- #include "/usr/local/samba/private/named.conf.update";
- [root@dev-teadc1 sbin]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement