Инструменты пользователя

Инструменты сайта


кеширующий_dns

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
кеширующий_dns [2013/03/05 12:39]
46.231.215.230 создано
кеширующий_dns [2013/03/05 16:44] (текущий)
Строка 5: Строка 5:
 Конфигурационный файл:  Конфигурационный файл: 
  
-options { +''options {\\ 
- listen-on port 53 { 127.0.0.1; 172.16.0.78; }; + listen-on port 53 { 127.0.0.1; 172.16.0.78; };\\ 
- listen-on-v6 port 53 { ::1; }; + listen-on-v6 port 53 { ::1; };\\ 
- directory "/var/named"; + directory "/var/named";\\ 
- dump-file "/var/named/data/cache_dump.db"; + dump-file "/var/named/data/cache_dump.db";\\ 
-        statistics-file "/var/named/data/named_stats.txt"; +        statistics-file "/var/named/data/named_stats.txt";\\ 
-        memstatistics-file "/var/named/data/named_mem_stats.txt";+        memstatistics-file "/var/named/data/named_mem_stats.txt";\\
  
- // Those options should be used carefully because they disable port + // Those options should be used carefully because they disable port\\ 
- // randomization + // randomization\\ 
- query-source    port 53;  + query-source    port 53;\\  
- // query-source-v6 port 53;+ // query-source-v6 port 53;\\
  
- allow-query     { localhost; 172.16.0.0/24; 172.16.0.72; }; + allow-query     { localhost; 172.16.0.0/24; 172.16.0.72; };\\ 
- allow-query-cache { localhost; 172.16.0.0/24; 172.16.0.72; }; + allow-query-cache { localhost; 172.16.0.0/24; 172.16.0.72; };\\ 
- allow-recursion {127.0.0.1; 172.16.0.0/24; 172.16.0.72; }; + allow-recursion {127.0.0.1; 172.16.0.0/24; 172.16.0.72; };\\ 
- forwarders {8.8.8.8;}; + forwarders {8.8.8.8;};\\ 
-};+};\\
  
  
-logging { +logging {\\ 
-        channel default_debug { +        channel default_debug {\\ 
-                file "data/named.run"; +                file "data/named.run";\\ 
-                severity dynamic; +                severity dynamic;\\ 
-        }; +        };\\ 
-}; +};\\ 
-view localhost_resolver { +view localhost_resolver {\\ 
- match-clients    { localhost; }; + match-clients    { localhost; };\\ 
- match-destinations { localhost; }; + match-destinations { localhost; };\\ 
- recursion yes; + recursion yes;\\ 
- include "/etc/named.rfc1912.zones";+ include "/etc/named.rfc1912.zones";\\ 
 +};\\ 
 + 
 +view net_resolver {\\ 
 + match-clients    { 172.16.0.0/24; };\\ 
 + match-destinations { 172.16.0.0/24; };\\ 
 + recursion yes;\\ 
 + include "/etc/named.rfc1912.zones";\\
 }; };
  
-view net_resolver { 
- match-clients    { 172.16.0.0/24; }; 
- match-destinations { 172.16.0.0/24; }; 
- recursion yes; 
- include "/etc/named.rfc1912.zones"; 
-}; 
  
 +''
кеширующий_dns.1362487185.txt.gz · Последнее изменение: 2013/03/05 16:39 (внешнее изменение)

DokuWiki Appliance - Powered by TurnKey Linux