summaryrefslogtreecommitdiffstats
path: root/extra/bind/bind.conf
diff options
context:
space:
mode:
authorCarlo Lanmdeter <clandmeter@gmail>2009-02-22 22:18:49 +0000
committerCarlo Lanmdeter <clandmeter@gmail>2009-02-22 22:18:49 +0000
commitc59bfb5f16a44fe9facdf9ae575e604c0f1953f6 (patch)
tree12f14c2b77c1a65bc1ae9c610a3cf9be85ca4c95 /extra/bind/bind.conf
parentc0881272b451d57c536f4046bd24ff66b7491b50 (diff)
extra/bind: new aport
Diffstat (limited to 'extra/bind/bind.conf')
-rw-r--r--extra/bind/bind.conf53
1 files changed, 53 insertions, 0 deletions
diff --git a/extra/bind/bind.conf b/extra/bind/bind.conf
new file mode 100644
index 00000000000..d58c61bde0c
--- /dev/null
+++ b/extra/bind/bind.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;
+};