NoPaste

named.conf.options von feldmaus 2010 März 26

von feldmaus

SNIPPET_TEXT:
  1. controls {inet 127.0.0.1 port 953 allow { localhost; } keys { "mykey"; }; };
  2.  
  3. options {
  4.         directory "/var/cache/bind";
  5.        
  6.         forwarders {
  7.                 195.50.140.114;
  8.                 195.50.140.252;
  9.         };
  10.         listen-on { 192.168.0/24; };
  11.         # Zweites Subnet muss durch den Server und dann hinten rein.
  12.         allow-query { 192.168.0/24; 192.168.1/24; };
  13. };
  14.  
  15. //logging {
  16. //      channel update_debug {
  17. //              file "/var/log/update-debug.log";
  18. //              severity debug 3;
  19. //              print-category yes;
  20. //              print-severity yes;
  21. //              print-time yes;
  22. //      };
  23. //      channel security_info {
  24. //              file "/var/log/named-auth.log";
  25. //??            severity info;
  26. //              print-category yes;
  27. //              print-severity yes;
  28. //              print-time yes;
  29. //      };
  30. //      category update { update_debug; };
  31. //      category security { security_info; };
  32. //      };

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN