Advertisement
Guest User

Untitled

a guest
Jun 30th, 2010
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. [root@dev-teadc1 sbin]# cat /etc/named.conf
  2. //
  3. // named.conf
  4. //
  5. // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
  6. // server as a caching only nameserver (as a localhost DNS resolver only).
  7. //
  8. // See /usr/share/doc/bind*/sample/ for example named configuration files.
  9. //
  10.  
  11. options {
  12.  
  13. recursion yes;
  14. check-names master warn;
  15. check-names slave warn;
  16. check-names response warn;
  17. listen-on port 53 {
  18. 10.2.2.6;
  19. 127.0.0.1;
  20. };
  21. allow-query {
  22. 10.0.2.0/24;
  23. 10.2.2.0/24;
  24. 127.0.0.1;
  25. };
  26. allow-recursion {
  27. 10.2.2.0/24;
  28. 127.0.0.1;
  29. };
  30. allow-update {
  31. 10.2.2.0/24;
  32. 127.0.0.1;
  33. };
  34.  
  35. directory "/var/named";
  36. dump-file "/var/named/data/cache_dump.db";
  37. statistics-file "/var/named/data/named_stats.txt";
  38. memstatistics-file "/var/named/data/named_mem_stats.txt";
  39.  
  40. # tkey-gssapi-credential "DNS/winteal.tundraeng.com";
  41. # tkey-domain "WINTEAL.TUNDRAENG.COM";
  42.  
  43. notify yes;
  44. # forward first;
  45. forwarders {
  46. 10.2.2.1;
  47. };
  48.  
  49. };
  50.  
  51. logging {
  52. channel update_debug {
  53. file "/var/log/update-debug.log";
  54. severity debug 10;
  55. print-category yes;
  56. print-severity yes;
  57. print-time yes;
  58. };
  59. category dnssec {update_debug; };
  60. category update-security {update_debug; };
  61.  
  62. channel default_debug {
  63. file "/var/log/named_debug.log";
  64. severity debug 99;
  65. print-category yes;
  66. print-severity yes;
  67. print-time yes;
  68. };
  69. category lame-servers {null; };
  70. category edns-disabled { null; };
  71. };
  72.  
  73.  
  74. #logging {
  75. # channel default_debug {
  76. # file "data/named.run";
  77. # severity dynamic;
  78. # };
  79. #};
  80.  
  81. key rndckey {
  82. algorithm hmac-md5;
  83. secret "nMPv0uFw4T3T8CQOp0hQGQ==";
  84. };
  85.  
  86. controls {
  87. inet 10.2.2.6 port 953 allow { 127.0.0.1; 10.2.2.6; 10.2.2.1; } keys { rndckey; };
  88. };
  89.  
  90.  
  91. zone "." IN {
  92. type hint;
  93. file "named.ca";
  94. };
  95. zone "winteal.tundraeng.com" {
  96. type master;
  97. file "/var/named/winteal.tundraeng.com.hosts";
  98. };
  99. zone "2.2.10.in-addr.arpa" {
  100. type master;
  101. file "/var/named/10.2.2.rev";
  102. };
  103.  
  104. include "/etc/named.rfc1912.zones";
  105. #include "/usr/local/samba/private/named.conf.update";
  106.  
  107. [root@dev-teadc1 sbin]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement