wiki:Realisations/2010-2011/Projet/Entreprise1/Documentation/DNS/NamedConf

/etc/named.conf

//
// named.conf
//
options {
  listen-on port 53 { 127.0.0.1; 10.10.2.30; };
  listen-on-v6 port 53 { ::1; 2001:DB8:1:112::30; };
  directory "/var/named";
  dump-file "/var/named/data/cache_dump.db";
  statistics-file "/var/named/data/named_stats.txt";

  allow-query 		{ any; };
  allow-query-cache 	{ any; };

  allow-transfer {
	10.20.1.10;
	2001:DB8:2:222::10;
	10.30.3.50;
	};

  forwarders {
	10.20.1.10;
	2001:DB8:2:222::10;
	10.30.2.50;
	};
};

controls {
  inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "localhost" IN {
  type master;
  file "localhost.zone";
  allow-update { none; };
};

zone "as65001.com" IN {
  type master;
  file "/var/named/as65001.com.zone";
};

zone "10.10.in-addr.arpa" IN {
  type master;
  file "/var/named/10.10.rev";
};

include "/etc/rndc.key";

Last modified 14 years ago Last modified on May 30, 2011, 7:25:09 PM