summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin V. Arkhipov <voxus@gentoo.org>2006-01-02 17:54:03 +0000
committerKonstantin V. Arkhipov <voxus@gentoo.org>2006-01-02 17:54:03 +0000
commit2ba3ee6b78fbe0351ce24608a9f9338febb8db4c (patch)
treeb135c2080156a79a2f49a82501c6776ce08ae734 /net-dns/bind/files
parentnet-zope/zope stable on ppc. (diff)
downloadgentoo-2-2ba3ee6b78fbe0351ce24608a9f9338febb8db4c.tar.gz
gentoo-2-2ba3ee6b78fbe0351ce24608a9f9338febb8db4c.tar.bz2
gentoo-2-2ba3ee6b78fbe0351ce24608a9f9338febb8db4c.zip
* ressurected conf
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'net-dns/bind/files')
-rw-r--r--net-dns/bind/files/named.conf-r242
1 files changed, 42 insertions, 0 deletions
diff --git a/net-dns/bind/files/named.conf-r2 b/net-dns/bind/files/named.conf-r2
new file mode 100644
index 000000000000..f9ae4cc98814
--- /dev/null
+++ b/net-dns/bind/files/named.conf-r2
@@ -0,0 +1,42 @@
+options {
+ directory "/var/bind";
+
+ // uncomment the following lines to turn on DNS forwarding,
+ // and change the forwarding ip address(es) :
+ //forward first;
+ //forwarders {
+ // 123.123.123.123;
+ // 123.123.123.123;
+ //};
+
+ listen-on-v6 { none; };
+ listen-on { 127.0.0.1; };
+
+ // to allow only specific hosts to use the DNS server:
+ //allow-query {
+ // 127.0.0.1;
+ //};
+
+ // if you have problems and are behind a firewall:
+ //query-source address * port 53;
+ pid-file "/var/run/named/named.pid";
+};
+
+zone "." IN {
+ type hint;
+ file "named.ca";
+};
+
+zone "localhost" IN {
+ type master;
+ file "pri/localhost.zone";
+ allow-update { none; };
+ notify no;
+};
+
+zone "127.in-addr.arpa" IN {
+ type master;
+ file "pri/127.zone";
+ allow-update { none; };
+ notify no;
+};