1 diff -urN bind-9.3.1.orig/conf/db.0 bind-9.3.1/conf/db.0
2 --- bind-9.3.1.orig/conf/db.0 1970-01-01 01:00:00.000000000 +0100
3 +++ bind-9.3.1/conf/db.0 2005-07-10 22:14:00.000000000 +0200
6 +; BIND reverse data file for broadcast zone
9 +@ IN SOA localhost. root.localhost. (
14 + 604800 ) ; Negative Cache TTL
17 diff -urN bind-9.3.1.orig/conf/db.127 bind-9.3.1/conf/db.127
18 --- bind-9.3.1.orig/conf/db.127 1970-01-01 01:00:00.000000000 +0100
19 +++ bind-9.3.1/conf/db.127 2005-07-10 22:14:00.000000000 +0200
22 +; BIND reverse data file for local loopback interface
25 +@ IN SOA localhost. root.localhost. (
30 + 604800 ) ; Negative Cache TTL
33 +1.0.0 IN PTR localhost.
34 diff -urN bind-9.3.1.orig/conf/db.empty bind-9.3.1/conf/db.empty
35 --- bind-9.3.1.orig/conf/db.empty 1970-01-01 01:00:00.000000000 +0100
36 +++ bind-9.3.1/conf/db.empty 2005-07-10 22:14:00.000000000 +0200
38 +; BIND reverse data file for empty rfc1918 zone
40 +; DO NOT EDIT THIS FILE - it is used for multiple zones.
41 +; Instead, copy it, edit named.conf, and use that copy.
44 +@ IN SOA localhost. root.localhost. (
49 + 86400 ) ; Negative Cache TTL
52 diff -urN bind-9.3.1.orig/conf/db.local bind-9.3.1/conf/db.local
53 --- bind-9.3.1.orig/conf/db.local 1970-01-01 01:00:00.000000000 +0100
54 +++ bind-9.3.1/conf/db.local 2005-07-10 22:14:00.000000000 +0200
57 +; BIND data file for local loopback interface
60 +@ IN SOA localhost. root.localhost. (
65 + 604800 ) ; Negative Cache TTL
69 diff -urN bind-9.3.1.orig/conf/db.root bind-9.3.1/conf/db.root
70 --- bind-9.3.1.orig/conf/db.root 1970-01-01 01:00:00.000000000 +0100
71 +++ bind-9.3.1/conf/db.root 2005-07-10 22:14:00.000000000 +0200
74 +; <<>> DiG 9.2.3 <<>> ns . @a.root-servers.net.
75 +;; global options: printcmd
77 +;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18944
78 +;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
84 +. 518400 IN NS A.ROOT-SERVERS.NET.
85 +. 518400 IN NS B.ROOT-SERVERS.NET.
86 +. 518400 IN NS C.ROOT-SERVERS.NET.
87 +. 518400 IN NS D.ROOT-SERVERS.NET.
88 +. 518400 IN NS E.ROOT-SERVERS.NET.
89 +. 518400 IN NS F.ROOT-SERVERS.NET.
90 +. 518400 IN NS G.ROOT-SERVERS.NET.
91 +. 518400 IN NS H.ROOT-SERVERS.NET.
92 +. 518400 IN NS I.ROOT-SERVERS.NET.
93 +. 518400 IN NS J.ROOT-SERVERS.NET.
94 +. 518400 IN NS K.ROOT-SERVERS.NET.
95 +. 518400 IN NS L.ROOT-SERVERS.NET.
96 +. 518400 IN NS M.ROOT-SERVERS.NET.
98 +;; ADDITIONAL SECTION:
99 +A.ROOT-SERVERS.NET. 3600000 IN A 198.41.0.4
100 +B.ROOT-SERVERS.NET. 3600000 IN A 192.228.79.201
101 +C.ROOT-SERVERS.NET. 3600000 IN A 192.33.4.12
102 +D.ROOT-SERVERS.NET. 3600000 IN A 128.8.10.90
103 +E.ROOT-SERVERS.NET. 3600000 IN A 192.203.230.10
104 +F.ROOT-SERVERS.NET. 3600000 IN A 192.5.5.241
105 +G.ROOT-SERVERS.NET. 3600000 IN A 192.112.36.4
106 +H.ROOT-SERVERS.NET. 3600000 IN A 128.63.2.53
107 +I.ROOT-SERVERS.NET. 3600000 IN A 192.36.148.17
108 +J.ROOT-SERVERS.NET. 3600000 IN A 192.58.128.30
109 +K.ROOT-SERVERS.NET. 3600000 IN A 193.0.14.129
110 +L.ROOT-SERVERS.NET. 3600000 IN A 198.32.64.12
111 +M.ROOT-SERVERS.NET. 3600000 IN A 202.12.27.33
113 +;; Query time: 81 msec
114 +;; SERVER: 198.41.0.4#53(a.root-servers.net.)
115 +;; WHEN: Sun Feb 1 11:27:14 2004
116 +;; MSG SIZE rcvd: 436
118 diff -urN bind-9.3.1.orig/conf/named.conf bind-9.3.1/conf/named.conf
119 --- bind-9.3.1.orig/conf/named.conf 1970-01-01 01:00:00.000000000 +0100
120 +++ bind-9.3.1/conf/named.conf 2005-07-10 22:33:46.000000000 +0200
122 +// This is the primary configuration file for the BIND DNS server named.
124 +// If you are just adding zones, please do that in /etc/bind/named.conf.local
126 +include "/etc/bind/named.conf.options";
128 +// prime the server with knowledge of the root servers
131 + file "/etc/bind/db.root";
134 +// be authoritative for the localhost forward and reverse zones, and for
135 +// broadcast zones as per RFC 1912
139 + file "/etc/bind/db.local";
142 +zone "127.in-addr.arpa" {
144 + file "/etc/bind/db.127";
147 +zone "0.in-addr.arpa" {
149 + file "/etc/bind/db.0";
152 +zone "255.in-addr.arpa" {
154 + file "/etc/bind/db.255";
157 +// zone "com" { type delegation-only; };
158 +// zone "net" { type delegation-only; };
160 +// From the release notes:
161 +// Because many of our users are uncomfortable receiving undelegated answers
162 +// from root or top level domains, other than a few for whom that behaviour
163 +// has been trusted and expected for quite some length of time, we have now
164 +// introduced the "root-delegations-only" feature which applies delegation-only
165 +// logic to all top level domains, and to the root domain. An exception list
166 +// should be specified, including "MUSEUM" and "DE", and any other top level
167 +// domains from whom undelegated responses are expected and trusted.
168 +// root-delegation-only exclude { "DE"; "MUSEUM"; };
170 +include "/etc/bind/named.conf.local";
171 diff -urN bind-9.3.1.orig/conf/named.conf.local bind-9.3.1/conf/named.conf.local
172 --- bind-9.3.1.orig/conf/named.conf.local 1970-01-01 01:00:00.000000000 +0100
173 +++ bind-9.3.1/conf/named.conf.local 2005-07-10 22:14:06.000000000 +0200
176 +// Do any local configuration here
179 +// Consider adding the 1918 zones here, if they are not used in your
181 +//include "/etc/bind/zones.rfc1918";
183 diff -urN bind-9.3.1.orig/conf/named.conf.options bind-9.3.1/conf/named.conf.options
184 --- bind-9.3.1.orig/conf/named.conf.options 1970-01-01 01:00:00.000000000 +0100
185 +++ bind-9.3.1/conf/named.conf.options 2005-07-10 22:14:06.000000000 +0200
188 + directory "/var/cache/bind";
190 + // If there is a firewall between you and nameservers you want
191 + // to talk to, you might need to uncomment the query-source
192 + // directive below. Previous versions of BIND always asked
193 + // questions using port 53, but BIND 8.1 and later use an unprivileged
194 + // port by default.
196 + // query-source address * port 53;
198 + // If your ISP provided one or more IP addresses for stable
199 + // nameservers, you probably want to use them as forwarders.
200 + // Uncomment the following block, and insert the addresses replacing
201 + // the all-0's placeholder.
207 + auth-nxdomain no; # conform to RFC1035
211 diff -urN bind-9.3.1.orig/conf/zones.rfc1918 bind-9.3.1/conf/zones.rfc1918
212 --- bind-9.3.1.orig/conf/zones.rfc1918 1970-01-01 01:00:00.000000000 +0100
213 +++ bind-9.3.1/conf/zones.rfc1918 2005-07-10 22:14:10.000000000 +0200
215 +zone "10.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
217 +zone "16.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
218 +zone "17.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
219 +zone "18.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
220 +zone "19.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
221 +zone "20.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
222 +zone "21.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
223 +zone "22.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
224 +zone "23.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
225 +zone "24.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
226 +zone "25.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
227 +zone "26.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
228 +zone "27.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
229 +zone "28.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
230 +zone "29.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
231 +zone "30.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
232 +zone "31.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
234 +zone "168.192.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
235 diff -urN bind-9.3.1.orig/init.d bind-9.3.1/init.d
236 --- bind-9.3.1.orig/init.d 1970-01-01 01:00:00.000000000 +0100
237 +++ bind-9.3.1/init.d 2005-07-10 23:09:58.000000000 +0200
241 +PATH=/sbin:/bin:/usr/sbin:/usr/bin
243 +# for a chrooted server: "-u bind -t /var/lib/named"
244 +# Don't modify this line, change or create /etc/default/bind9.
247 +test -f /etc/default/bind9 && . /etc/default/bind9
249 +test -x /usr/sbin/rndc || exit 0
253 + echo -n "Starting domain name service: named"
255 + modprobe capability >/dev/null 2>&1 || true
257 + # dirs under /var/run can go away on reboots.
258 + mkdir -p /var/run/bind/run
259 + mkdir -p /var/cache/bind
260 + chmod 775 /var/run/bind/run
261 + chown root:bind /var/run/bind/run >/dev/null 2>&1 || true
263 + if [ ! -x /usr/sbin/named ]; then
264 + echo "named binary missing - not starting"
267 + if start-stop-daemon --start --quiet --exec /usr/sbin/named \
268 + --pidfile /var/run/bind/run/named.pid -- $OPTIONS; then
269 + if [ -x /sbin/resolvconf ] ; then
270 + echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo
277 + echo -n "Stopping domain name service: named"
278 + if [ -x /sbin/resolvconf ]; then
279 + /sbin/resolvconf -d lo
281 + /usr/sbin/rndc stop
286 + /usr/sbin/rndc reload
289 + restart|force-reload)
296 + echo "Usage: /etc/init.d/bind {start|stop|reload|restart|force-reload}" >&2