Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Untitled
Wednesday, September 13th, 2006 at 9:45:20pm UTC 

  1. //
  2. // named.conf for Red Hat caching-nameserver
  3. //
  4.  
  5. options {
  6.         directory "/var/named";
  7.         dump-file "/var/named/data/cache_dump.db";
  8.         statistics-file "/var/named/data/named_stats.txt";
  9.         /*
  10.          * If there is a firewall between you and nameservers you want
  11.          * to talk to, you might need to uncomment the query-source
  12.          * directive below.  Previous versions of BIND always asked
  13.          * questions using port 53, but BIND 8.1 uses an unprivileged
  14.          * port by default.
  15.          */
  16.         query-source address * port 53;
  17.         listen-on { 127.0.0.1; 192.168.1.2; };
  18.         allow-query { 127.0.0.1; 192.168.1.0/24; };
  19.  
  20.         forward first;
  21.         forwarders { 216.16.232.77; 216.16.232.66; };
  22. };
  23.  
  24. //
  25. // a caching only nameserver config
  26. //
  27. controls {
  28.         inet 127.0.0.1 allow { localhost; } keys { rndckey; };
  29. };
  30.  
  31. zone "." IN {
  32.         type hint;
  33.         file "named.ca";
  34. };
  35.  
  36. zone "localdomain" IN {
  37.         type master;
  38.         file "localdomain.zone";
  39.         allow-update { none; };
  40. };
  41.  
  42. zone "localhost" IN {
  43.         type master;
  44.         file "localhost.zone";
  45.         allow-update { none; };
  46. };
  47.  
  48. zone "0.0.127.in-addr.arpa" IN {
  49.         type master;
  50.         file "named.local";
  51.         allow-update { none; };
  52. };
  53.  
  54. zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
  55.         type master;
  56.         file "named.ip6.local";
  57.         allow-update { none; };
  58. };
  59.  
  60. zone "255.in-addr.arpa" IN {
  61.         type master;
  62.         file "named.broadcast";
  63.         allow-update { none; };
  64. };
  65.  
  66. zone "0.in-addr.arpa" IN {
  67.         type master;
  68.         file "named.zero";
  69.         allow-update { none; };
  70. };
  71.  
  72. zone "miovision.corp" IN {
  73.         type master;
  74.         file "data/master-miovision.corp";
  75.         allow-update { none; };
  76. };
  77.  
  78. zone "1.168.192.in-addr.arpa" IN {
  79.         type master;
  80.         file "data/reverse-192.168.1";
  81.         allow-update { none; };
  82. };
  83.  
  84. include "/etc/rndc.key";

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right