Changes between Initial Version and Version 1 of Realisations/2010-2011/Projet/Entreprise1/Documentation/DNS/NamedConf


Ignore:
Timestamp:
May 30, 2011, 7:25:09 PM (14 years ago)
Author:
evain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Realisations/2010-2011/Projet/Entreprise1/Documentation/DNS/NamedConf

    v1 v1  
     1/etc/named.conf
     2
     3
     4{{{
     5//
     6// named.conf
     7//
     8options {
     9  listen-on port 53 { 127.0.0.1; 10.10.2.30; };
     10  listen-on-v6 port 53 { ::1; 2001:DB8:1:112::30; };
     11  directory "/var/named";
     12  dump-file "/var/named/data/cache_dump.db";
     13  statistics-file "/var/named/data/named_stats.txt";
     14
     15  allow-query           { any; };
     16  allow-query-cache     { any; };
     17
     18  allow-transfer {
     19        10.20.1.10;
     20        2001:DB8:2:222::10;
     21        10.30.3.50;
     22        };
     23
     24  forwarders {
     25        10.20.1.10;
     26        2001:DB8:2:222::10;
     27        10.30.2.50;
     28        };
     29};
     30
     31controls {
     32  inet 127.0.0.1 allow { localhost; } keys { rndckey; };
     33};
     34
     35zone "localhost" IN {
     36  type master;
     37  file "localhost.zone";
     38  allow-update { none; };
     39};
     40
     41zone "as65001.com" IN {
     42  type master;
     43  file "/var/named/as65001.com.zone";
     44};
     45
     46zone "10.10.in-addr.arpa" IN {
     47  type master;
     48  file "/var/named/10.10.rev";
     49};
     50
     51include "/etc/rndc.key";
     52
     53}}}