summaryrefslogtreecommitdiffstats
path: root/main/bind/named.conf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-14 21:23:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-14 21:23:57 +0000
commit0c2a46ee5cde03ff37028a190db9bc68524d5f8c (patch)
treed56a278a53d8ab3afaf016aca60eba197ef38f12 /main/bind/named.conf
parente2a0a41ad891af0c727155d1a1e2d69b13480f14 (diff)
downloadaports-0c2a46ee5cde03ff37028a190db9bc68524d5f8c.tar.bz2
aports-0c2a46ee5cde03ff37028a190db9bc68524d5f8c.tar.xz
main/bind: cleanup and fix named.initd stop
Diffstat (limited to 'main/bind/named.conf')
-rw-r--r--main/bind/named.conf53
1 files changed, 53 insertions, 0 deletions
diff --git a/main/bind/named.conf b/main/bind/named.conf
new file mode 100644
index 000000000..d58c61bde
--- /dev/null
+++ b/main/bind/named.conf
@@ -0,0 +1,53 @@
+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";
+};
+
+// Briefly, a zone which has been declared delegation-only will be effectively
+// limited to containing NS RRs for subdomains, but no actual data beyond its
+// own apex (for example, its SOA RR and apex NS RRset). This can be used to
+// filter out "wildcard" or "synthesized" data from NAT boxes or from
+// authoritative name servers whose undelegated (in-zone) data is of no
+// interest.
+// See http://www.isc.org/products/BIND/delegation-only.html for more info
+
+//zone "COM" { type delegation-only; };
+//zone "NET" { type delegation-only; };
+
+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;
+};