summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Honsberger <blkdeath@gentoo.org>2003-11-06 03:55:06 +0000
committerStewart Honsberger <blkdeath@gentoo.org>2003-11-06 03:55:06 +0000
commit0f43c89dd71f37abec4271ef837474d1f801d847 (patch)
tree9712ba3b2e9363879c309b55d47741c0ac836439 /net-dns/bind
parentFixed invalid init script parameters. (Bug #31782) (diff)
downloadhistorical-0f43c89dd71f37abec4271ef837474d1f801d847.tar.gz
historical-0f43c89dd71f37abec4271ef837474d1f801d847.tar.bz2
historical-0f43c89dd71f37abec4271ef837474d1f801d847.zip
Minor chroot fixes.
Diffstat (limited to 'net-dns/bind')
-rw-r--r--net-dns/bind/files/named.conf-r353
-rw-r--r--net-dns/bind/files/named.rc64
2 files changed, 55 insertions, 2 deletions
diff --git a/net-dns/bind/files/named.conf-r3 b/net-dns/bind/files/named.conf-r3
new file mode 100644
index 000000000000..7d639b9e09fc
--- /dev/null
+++ b/net-dns/bind/files/named.conf-r3
@@ -0,0 +1,53 @@
+options {
+ directory "/var/bind";
+
+ // uncomment the following lines to turn on DNS forwarding,
+ // and change the forwarind 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;
+};
diff --git a/net-dns/bind/files/named.rc6 b/net-dns/bind/files/named.rc6
index 2e9fcbc0a9c7..a69997b1c604 100644
--- a/net-dns/bind/files/named.rc6
+++ b/net-dns/bind/files/named.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.rc6,v 1.11 2003/06/29 18:03:00 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.rc6,v 1.12 2003/11/06 03:55:06 blkdeath Exp $
opts="start stop reload restart"
@@ -38,7 +38,7 @@ start() {
}
stop() {
- ebegin "Stopping named"
+ ebegin "Stopping ${CHROOT:+chrooted }named"
checkconfig || return 2
start-stop-daemon --stop --quiet --pidfile $PIDFILE
eend $?