head 1.7;
access;
symbols;
locks; strict;
comment @# @;
1.7
date 2009.12.14.17.00.30; author rse; state Exp;
branches;
next 1.6;
commitid J3dBJSyOHEgHBmfu;
1.6
date 2009.12.14.16.47.26; author rse; state Exp;
branches;
next 1.5;
commitid XW165PDwfn3dxmfu;
1.5
date 2008.02.29.09.18.23; author rse; state Exp;
branches;
next 1.4;
commitid 8MyHM9GVedyv4hTs;
1.4
date 2007.11.10.09.34.59; author rse; state Exp;
branches;
next 1.3;
commitid gQro9bcV8UiqJ0Fs;
1.3
date 2007.11.03.10.41.06; author rse; state Exp;
branches;
next 1.2;
commitid t5P1ZcGrrmd3k7Es;
1.2
date 2007.10.24.14.48.36; author cs; state Exp;
branches;
next 1.1;
commitid bv4je0ediXnT0RCs;
1.1
date 2007.10.05.15.36.21; author rse; state Exp;
branches;
next ;
commitid 9Wca7qQFX3C8TpAs;
desc
@@
1.7
log
@mix in the official InterNIC named.root file to really ensure we get all entries because currently the K/L/M root-server's IPv6 addresses cannot be queried but are listed by InterNIC
@
text
@
##
## @@l_prefix@@/etc/bind/named.conf -- BIND configuration
##
controls {
unix "@@l_prefix@@/var/bind/named.ctl"
perm 0600 owner @@l_ruid@@ group @@l_rgid@@
keys { "rndc-key"; };
#inet 127.0.0.1 port 953
#allow { 127.0.0.1; }
#keys { "rndc-key"; };
};
include "@@l_prefix@@/etc/bind/rndc.key";
logging {
channel logfile {
file "@@l_prefix@@/var/bind/named.log";
severity info;
print-category yes;
print-severity no;
print-time yes;
};
category "default" { "logfile"; };
category "client" { "logfile"; };
category "config" { "logfile"; };
category "database" { "logfile"; };
category "delegation-only" { "logfile"; };
category "dispatch" { "logfile"; };
category "dnssec" { "logfile"; };
category "general" { "logfile"; };
category "lame-servers" { "logfile"; };
category "network" { "logfile"; };
category "notify" { "logfile"; };
category "queries" { "logfile"; };
category "resolver" { "logfile"; };
category "security" { "logfile"; };
category "update" { "logfile"; };
category "xfer-in" { "logfile"; };
category "xfer-out" { "logfile"; };
category "unmatched" { "null"; };
};
options {
pid-file "@@l_prefix@@/var/bind/named.pid";
directory "@@l_prefix@@/etc/bind/named.db";
statistics-file "@@l_prefix@@/var/bind/named.stats";
allow-query { any; };
allow-transfer { any; };
transfers-in 10;
transfers-per-ns 2;
max-transfer-time-in 120;
transfer-format one-answer;
cleaning-interval 60;
interface-interval 60;
listen-on port 53 { 127.0.0.1; };
#query-source address 127.0.0.1 port *;
#transfer-source 127.0.0.1;
#notify-source 127.0.0.1;
};
zone "." IN {
type hint;
file "db.root";
};
zone "localhost" IN {
type master;
file "db.localhost";
notify no;
allow-update { none; };
allow-transfer { any; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "db.localhost.ipv4";
notify no;
allow-update { none; };
allow-transfer { any; };
};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" {
type master;
file "db.localhost.ipv6";
notify no;
allow-update { none; };
allow-transfer { any; };
};
##
## @@l_prefix@@/etc/bind/rndc.conf -- BIND rndc configuration
##
options {
default-server localhost-unix;
};
server localhost-unix {
addresses { "@@l_prefix@@/var/bind/named.ctl"; };
key "rndc-key";
};
server localhost-inet {
addresses { 127.0.0.1; };
port 953;
key "rndc-key";
};
include "@@l_prefix@@/etc/bind/rndc.key";
;;
;; db.root -- Internet Root Nameservers
;; DO NOT EDIT, IT WAS AUTOMATICALLY CREATED ON 2009-12-14 BY db.root.sh!
;;
. 99999999 IN NS A.ROOT-SERVERS.NET.
. 99999999 IN NS B.ROOT-SERVERS.NET.
. 99999999 IN NS C.ROOT-SERVERS.NET.
. 99999999 IN NS D.ROOT-SERVERS.NET.
. 99999999 IN NS E.ROOT-SERVERS.NET.
. 99999999 IN NS F.ROOT-SERVERS.NET.
. 99999999 IN NS G.ROOT-SERVERS.NET.
. 99999999 IN NS H.ROOT-SERVERS.NET.
. 99999999 IN NS I.ROOT-SERVERS.NET.
. 99999999 IN NS J.ROOT-SERVERS.NET.
. 99999999 IN NS K.ROOT-SERVERS.NET.
. 99999999 IN NS L.ROOT-SERVERS.NET.
. 99999999 IN NS M.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 99999999 IN A 198.41.0.4
A.ROOT-SERVERS.NET. 99999999 IN AAAA 2001:503:ba3e::2:30
B.ROOT-SERVERS.NET. 99999999 IN A 192.228.79.201
C.ROOT-SERVERS.NET. 99999999 IN A 192.33.4.12
D.ROOT-SERVERS.NET. 99999999 IN A 128.8.10.90
E.ROOT-SERVERS.NET. 99999999 IN A 192.203.230.10
F.ROOT-SERVERS.NET. 99999999 IN A 192.5.5.241
F.ROOT-SERVERS.NET. 99999999 IN AAAA 2001:500:2f::f
G.ROOT-SERVERS.NET. 99999999 IN A 192.112.36.4
H.ROOT-SERVERS.NET. 99999999 IN A 128.63.2.53
H.ROOT-SERVERS.NET. 99999999 IN AAAA 2001:500:1::803f:235
I.ROOT-SERVERS.NET. 99999999 IN A 192.36.148.17
J.ROOT-SERVERS.NET. 99999999 IN A 192.58.128.30
J.ROOT-SERVERS.NET. 99999999 IN AAAA 2001:503:c27::2:30
K.ROOT-SERVERS.NET. 99999999 IN A 193.0.14.129
K.ROOT-SERVERS.NET. 99999999 IN AAAA 2001:7fd::1
L.ROOT-SERVERS.NET. 99999999 IN A 199.7.83.42
L.ROOT-SERVERS.NET. 99999999 IN AAAA 2001:500:3::42
M.ROOT-SERVERS.NET. 99999999 IN A 202.12.27.33
M.ROOT-SERVERS.NET. 99999999 IN AAAA 2001:dc3::35
#!/bin/sh
ROOTFILE=./db.root
echo '@@l_prefix@@' | egrep '^@@l_' | egrep 'prefix@@$' >/dev/null
if [ $? -eq 0 ]; then
CURL='curl'
DIG='dig'
else
CURL='@@l_prefix@@/bin/openpkg curl'
DIG='@@l_prefix@@/bin/dig'
fi
date=`date '+%Y-%m-%d'`
cat >$ROOTFILE <$ROOTFILE.raw
for i in A B C D E F G H I J K L M; do
${DIG} @@$i.ROOT-SERVERS.NET . NS >>$ROOTFILE.raw
done
[ -f $ROOTFILE.raw ] || exit 1
awk <$ROOTFILE.raw '
/[ ]NS[ ]/ { printf("%-20s 99999999 IN NS %s\n", $1, toupper($NF)); }
/[ ]AAAA[ ]/ { printf("%-20s 99999999 IN AAAA %s\n", toupper($1), tolower($NF)); }
/[ ]A[ ]/ { printf("%-20s 99999999 IN A %s\n", toupper($1), tolower($NF)); }
' |\
egrep -v '^;' |\
sort -u >>$ROOTFILE
echo "" >>$ROOTFILE
rm $ROOTFILE.raw
;;
;; db.localhost -- zonefile for the forward mapping of the loopback network
;;
$TTL 86400
@@ IN SOA localhost. root.localhost. (
2001010101 ; SERIAL
6H ; REFRESH: Secondaries refresh
60M ; RETRY: Secondaries retry
1W ; EXPIRE: Maximum TTL of data (expiry)
1D ; MINTTL: Minimum TTL of data (expiry)
)
IN NS @@
IN A 127.0.0.1
;;
;; db.localhost.ipv4 -- zonefile for the IPv4 reverse mapping of the loopback network
;;
$TTL 86400
@@ IN SOA localhost. root.localhost. (
2001010101 ; SERIAL
6H ; REFRESH: Secondaries refresh
60M ; RETRY: Secondaries retry
1W ; EXPIRE: Maximum TTL of data (expiry)
1D ; MINTTL: Minimum TTL of data (expiry)
)
IN NS @@
1 IN PTR localhost.
;;
;; db.localhost.ipv6 -- zonefile for the IPv6 reverse mapping of the loopback network
;;
$TTL 86400
@@ IN SOA localhost. root.localhost. (
2001010101 ; SERIAL
6H ; REFRESH: Secondaries refresh
60M ; RETRY: Secondaries retry
1W ; EXPIRE: Maximum TTL of data (expiry)
1D ; MINTTL: Minimum TTL of data (expiry)
)
IN NS @@
IN PTR localhost.
@
1.6
log
@indicate that the root cache is still valid as of today (no changes until now)
@
text
@d150 1
d152 1
d154 1
d164 1
d167 1
d179 2
a180 1
cp /dev/null $ROOTFILE.raw
d186 3
a188 3
/IN[ ]NS[ ]/ { printf("%-20s 99999999 IN NS %s\n", $1, toupper($NF)); }
/IN[ ]AAAA[ ]/ { printf("%-20s 99999999 IN AAAA %s\n", toupper($1), tolower($NF)); }
/IN[ ]A[ ]/ { printf("%-20s 99999999 IN A %s\n", toupper($1), tolower($NF)); }
@
1.5
log
@add IPv6 records to root server list
@
text
@d119 1
a119 1
;; DO NOT EDIT, IT WAS AUTOMATICALLY CREATED ON 2008-02-29 BY db.root.sh!
@
1.4
log
@Switch BIND from using "inet" to "unix" domain socket for the the
rndc(8) channel. This has two advantages: 1. it dramatically reduces
the (re)start times of the OpenPKG "bind" package (which was caused
by long timeouts "rndc status" performed on the "inet" socket) and 2.
it inherently avoids the channel conflict in case multiple OpenPKG
instances run on the same machine.
@
text
@d119 1
a119 1
;; DO NOT EDIT, IT WAS AUTOMATICALLY CREATED ON 2007-11-03 BY db.root.sh!
d122 30
a151 26
. 99999999 IN NS A.ROOT-SERVERS.NET.
. 99999999 IN NS B.ROOT-SERVERS.NET.
. 99999999 IN NS C.ROOT-SERVERS.NET.
. 99999999 IN NS D.ROOT-SERVERS.NET.
. 99999999 IN NS E.ROOT-SERVERS.NET.
. 99999999 IN NS F.ROOT-SERVERS.NET.
. 99999999 IN NS G.ROOT-SERVERS.NET.
. 99999999 IN NS H.ROOT-SERVERS.NET.
. 99999999 IN NS I.ROOT-SERVERS.NET.
. 99999999 IN NS J.ROOT-SERVERS.NET.
. 99999999 IN NS K.ROOT-SERVERS.NET.
. 99999999 IN NS L.ROOT-SERVERS.NET.
. 99999999 IN NS M.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 99999999 IN A 198.41.0.4
B.ROOT-SERVERS.NET. 99999999 IN A 192.228.79.201
C.ROOT-SERVERS.NET. 99999999 IN A 192.33.4.12
D.ROOT-SERVERS.NET. 99999999 IN A 128.8.10.90
E.ROOT-SERVERS.NET. 99999999 IN A 192.203.230.10
F.ROOT-SERVERS.NET. 99999999 IN A 192.5.5.241
G.ROOT-SERVERS.NET. 99999999 IN A 192.112.36.4
H.ROOT-SERVERS.NET. 99999999 IN A 128.63.2.53
I.ROOT-SERVERS.NET. 99999999 IN A 192.36.148.17
J.ROOT-SERVERS.NET. 99999999 IN A 192.58.128.30
K.ROOT-SERVERS.NET. 99999999 IN A 193.0.14.129
L.ROOT-SERVERS.NET. 99999999 IN A 199.7.83.42
M.ROOT-SERVERS.NET. 99999999 IN A 202.12.27.33
d174 1
d176 1
a176 1
${DIG} @@$i.ROOT-SERVERS.NET . NS >$ROOTFILE.raw && break
d180 3
a182 2
/IN[ ]NS/ { printf("%-20s 99999999 IN NS %s\n", $1, $NF); }
/IN[ ]A/ { printf("%-20s 99999999 IN A %s\n", $1, $NF); }
d185 1
a185 1
sort >>$ROOTFILE
@
1.3
log
@a root server changed IP on 2007-11-01
@
text
@d7 6
a12 3
inet 127.0.0.1 port 953
allow { 127.0.0.1; }
keys { "rndc-key"; };
d99 1
a99 3
default-server 127.0.0.1;
default-port 953;
default-key "rndc-key";
d102 8
a109 1
server localhost {
@
1.2
log
@complete and sort (except default and unmatched) list of categories
@
text
@d111 1
a111 1
;; DO NOT EDIT, IT WAS AUTOMATICALLY CREATED ON 2007-10-05 BY db.root.sh!
d138 1
a138 1
L.ROOT-SERVERS.NET. 99999999 IN A 198.32.64.12
@
1.1
log
@finally make BIND packaging as concise as other by shrinking the various text snippets into a single bind.txt
@
text
@d23 1
a23 2
category "general" { "logfile"; };
category "security" { "logfile"; };
a24 3
category "queries" { "logfile"; };
category "update" { "logfile"; };
category "notify" { "logfile"; };
d26 2
d29 5
d35 2
d39 1
a39 3
category "dispatch" { "logfile"; };
category "lame-servers" { "logfile"; };
category "delegation-only" { "logfile"; };
@