rgiapratama

/etc/named.conf

Feb 18th, 2013
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.40 KB | None | 0 0
  1. //
  2. // CentOS 6.3 64bit
  3. // BIND 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.6
  4. //
  5. // named.conf
  6. //
  7. // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
  8. // server as a caching only nameserver (as a localhost DNS resolver only).
  9. //
  10. // See /usr/share/doc/bind*/sample/ for example named configuration files.
  11. //
  12.  
  13. options {
  14.         listen-on port 53 { 127.0.0.1; };
  15.         listen-on-v6 port 53 { ::1; };
  16.         directory       "/var/named";
  17.         dump-file       "/var/named/data/cache_dump.db";
  18.         statistics-file "/var/named/data/named_stats.txt";
  19.         memstatistics-file "/var/named/data/named_mem_stats.txt";
  20.         allow-query     { localhost; };
  21.         recursion yes;
  22.  
  23.         dnssec-enable yes;
  24.         dnssec-validation yes;
  25.         dnssec-lookaside auto;
  26.  
  27.         /* Path to ISC DLV key */
  28.         bindkeys-file "/etc/named.iscdlv.key";
  29.  
  30.         managed-keys-directory "/var/named/dynamic";
  31. };
  32.  
  33. logging {
  34.         channel default_debug {
  35.                 file "data/named.run";
  36.                 severity dynamic;
  37.         };
  38. };
  39.  
  40. zone "." IN {
  41.         type hint;
  42.         file "named.ca";
  43. };
  44.  
  45. zone "njajal.com" {
  46.         type master;
  47.         file "/etc/named/njajal.com";
  48. };
  49.  
  50. zone "1.168.192.in-addr.arpa" IN {
  51.   type master;
  52.   file "/etc/named/1.168.192";
  53.   allow-update { none; };
  54. };
  55.  
  56. include "/etc/named.rfc1912.zones";
  57. include "/etc/named.root.key";
Advertisement
Add Comment
Please, Sign In to add comment