]>
Commit | Line | Data |
---|---|---|
05ebc259 MK |
1 | Index: bind9/CHANGES |
2 | diff -u bind9/CHANGES:1.1048.2.294.4.10 bind9/CHANGES:1.1048.2.294.4.10.2.1 | |
3 | --- bind9/CHANGES:1.1048.2.294.4.10 Wed Feb 19 04:32:39 2003 | |
4 | +++ bind9/CHANGES Wed Sep 17 06:53:59 2003 | |
5 | @@ -1,3 +1,6 @@ | |
6 | + --- 9.2.2-P1 released --- | |
7 | + | |
8 | +1504. [func] New zone type "delegation-only". | |
9 | ||
10 | --- 9.2.2 released --- | |
11 | ||
12 | Index: bind9/README | |
13 | diff -u bind9/README:1.93.2.30.4.5 bind9/README:1.93.2.30.4.5.2.1 | |
14 | --- bind9/README:1.93.2.30.4.5 Fri Feb 21 05:15:59 2003 | |
15 | +++ bind9/README Wed Sep 17 06:54:00 2003 | |
16 | @@ -44,6 +44,10 @@ | |
17 | Nominum, Inc. | |
18 | ||
19 | ||
20 | +BIND 9.2.2-P1 | |
21 | + | |
22 | + A new zone type delegation-only is now supported. | |
23 | + | |
24 | BIND 9.2.2 | |
25 | ||
26 | BIND 9.2.2 is a maintenance release, containing fixes for | |
27 | Index: bind9/version | |
28 | diff -u bind9/version:1.26.2.15.4.1 bind9/version:1.26.2.15.4.1.2.1 | |
29 | --- bind9/version:1.26.2.15.4.1 Mon Feb 17 06:26:27 2003 | |
30 | +++ bind9/version Wed Sep 17 06:54:01 2003 | |
31 | @@ -1,4 +1,4 @@ | |
32 | -# $Id$ | |
33 | +# $Id$ | |
34 | # | |
35 | # This file must follow /bin/sh rules. It is imported directly via | |
36 | # configure. | |
37 | @@ -6,5 +6,5 @@ | |
38 | MAJORVER=9 | |
39 | MINORVER=2 | |
40 | PATCHVER=2 | |
41 | -RELEASETYPE= | |
42 | -RELEASEVER= | |
43 | +RELEASETYPE=-P | |
44 | +RELEASEVER=1 | |
45 | Index: bind9/bin/named/server.c | |
46 | diff -u bind9/bin/named/server.c:1.339.2.8.4.3 bind9/bin/named/server.c:1.339.2.8.4.3.2.1 | |
47 | --- bind9/bin/named/server.c:1.339.2.8.4.3 Tue Feb 18 03:27:58 2003 | |
48 | +++ bind9/bin/named/server.c Wed Sep 17 05:40:36 2003 | |
49 | @@ -15,7 +15,7 @@ | |
50 | * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
51 | */ | |
52 | ||
53 | -/* $Id$ */ | |
54 | +/* $Id$ */ | |
55 | ||
56 | #include <config.h> | |
57 | ||
58 | @@ -1248,6 +1248,7 @@ | |
59 | cfg_obj_t *typeobj = NULL; | |
60 | cfg_obj_t *forwarders = NULL; | |
61 | cfg_obj_t *forwardtype = NULL; | |
62 | + cfg_obj_t *only = NULL; | |
63 | isc_result_t result; | |
64 | isc_buffer_t buffer; | |
65 | dns_fixedname_t fixorigin; | |
66 | @@ -1349,6 +1350,14 @@ | |
67 | } | |
68 | ||
69 | /* | |
70 | + * "delegation-only zones" aren't zones either. | |
71 | + */ | |
72 | + if (strcasecmp(ztypestr, "delegation-only") == 0) { | |
73 | + result = dns_view_adddelegationonly(view, origin); | |
74 | + goto cleanup; | |
75 | + } | |
76 | + | |
77 | + /* | |
78 | * Check for duplicates in the new zone table. | |
79 | */ | |
80 | result = dns_view_findzone(view, origin, &dupzone); | |
81 | @@ -1413,6 +1422,16 @@ | |
82 | cfg_map_get(zoptions, "forward", &forwardtype); | |
83 | CHECK(configure_forward(config, view, origin, forwarders, | |
84 | forwardtype)); | |
85 | + } | |
86 | + | |
87 | + /* | |
88 | + * Stub and forward zones may also refer to delegation only points. | |
89 | + */ | |
90 | + only = NULL; | |
91 | + if (cfg_map_get(zoptions, "delegation-only", &only) == ISC_R_SUCCESS) | |
92 | + { | |
93 | + if (cfg_obj_asboolean(only)) | |
94 | + CHECK(dns_view_adddelegationonly(view, origin)); | |
95 | } | |
96 | ||
97 | /* | |
98 | Index: bind9/doc/arm/Bv9ARM-book.xml | |
99 | diff -u bind9/doc/arm/Bv9ARM-book.xml:1.155.2.22.4.1 bind9/doc/arm/Bv9ARM-book.xml:1.155.2.22.4.1.2.1 | |
100 | --- bind9/doc/arm/Bv9ARM-book.xml:1.155.2.22.4.1 Mon Feb 17 01:29:29 2003 | |
101 | +++ bind9/doc/arm/Bv9ARM-book.xml Wed Sep 17 05:40:37 2003 | |
102 | @@ -2,7 +2,7 @@ | |
103 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN" | |
104 | "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"> | |
105 | ||
106 | -<!-- File: $Id$ --> | |
107 | +<!-- File: $Id$ --> | |
108 | ||
109 | <book> | |
110 | <title>BIND 9 Administrator Reference Manual</title> | |
111 | @@ -2706,6 +2706,14 @@ | |
112 | those servers during resolution. | |
113 | </para></entry> | |
114 | </row> | |
115 | +<row rowsep = "0"> | |
116 | +<entry colname = "1"><para><command>delegation-only</command></para></entry> | |
117 | +<entry colname = "2"><para>Delegation only. Logs queries that have have | |
118 | +been forced to NXDOMAIN as the result of a delegation-only zone or | |
119 | +a <command>delegation-only</command> in a stub or forward | |
120 | +zone declartation. | |
121 | +</para></entry> | |
122 | +</row> | |
123 | </tbody> | |
124 | </tgroup></informaltable> | |
125 | </sect3> | |
126 | @@ -4217,7 +4225,7 @@ | |
127 | <sect2 id="zone_statement_grammar"><title><command>zone</command> | |
128 | Statement Grammar</title> | |
129 | <programlisting>zone <replaceable>zone_name</replaceable> <optional><replaceable>class</replaceable></optional> <optional>{ | |
130 | - type ( master | slave | hint | stub | forward ) ; | |
131 | + type ( master | slave | hint | stub | forward /| delegation-only ) ; | |
132 | <optional> allow-notify { <replaceable>address_match_list</replaceable> } ; </optional> | |
133 | <optional> allow-query { <replaceable>address_match_list</replaceable> } ; </optional> | |
134 | <optional> allow-transfer { <replaceable>address_match_list</replaceable> } ; </optional> | |
135 | @@ -4227,6 +4235,7 @@ | |
136 | <optional> also-notify { <replaceable>ip_addr</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> ; <optional> <replaceable>ip_addr</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> ; ... </optional> }; </optional> | |
137 | <optional> check-names (<constant>warn</constant>|<constant>fail</constant>|<constant>ignore</constant>) ; </optional> | |
138 | <optional> dialup <replaceable>dialup_option</replaceable> ; </optional> | |
139 | + <optional> delegation-only <replaceable>yes_or_no</replaceable> ; </optional> | |
140 | <optional> file <replaceable>string</replaceable> ; </optional> | |
141 | <optional> forward (<constant>only</constant>|<constant>first</constant>) ; </optional> | |
142 | <optional> forwarders { <replaceable>ip_addr</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> ; <optional> <replaceable>ip_addr</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> ; ... </optional> }; </optional> | |
143 | @@ -4349,6 +4358,14 @@ | |
144 | IN, the server uses a compiled-in default set of root servers hints. | |
145 | Classes other than IN have no built-in defaults hints.</para></entry> | |
146 | </row> | |
147 | +<row rowsep = "0"> | |
148 | +<entry colname = "1"><para><varname>delegation-only</varname></para></entry> | |
149 | +<entry colname = "2"><para>This is used to enforce the delegation only | |
150 | +status of infrastructure zones (e.g. COM, NET, ORG). Any answer that | |
151 | +is received without a explicit or implict delegation in the authority | |
152 | +section will be treated as NXDOMAIN. This does not apply to the zone | |
153 | +apex. This SHOULD NOT be applied to leaf zones.</para></entry> | |
154 | +</row> | |
155 | </tbody> | |
156 | </tgroup></informaltable></sect3> | |
157 | ||
158 | @@ -4452,6 +4469,13 @@ | |
159 | <varlistentry><term><command>dialup</command></term> | |
160 | <listitem><para>See the description of | |
161 | <command>dialup</command> in <xref linkend="boolean_options"/>.</para> | |
162 | +</listitem></varlistentry> | |
163 | + | |
164 | +<varlistentry><term><command>delegation-only</command></term> | |
165 | +<listitem><para>The flag only applies to forward and stub zones. If set | |
166 | +to <userinput>yes</userinput> then the zone will also be treated as if it | |
167 | +is also a delegation-only type zone. | |
168 | +</para> | |
169 | </listitem></varlistentry> | |
170 | ||
171 | <varlistentry><term><command>forward</command></term> | |
172 | Index: bind9/doc/arm/Bv9ARM.ch06.html | |
173 | diff -u bind9/doc/arm/Bv9ARM.ch06.html:1.56.2.9.4.1 bind9/doc/arm/Bv9ARM.ch06.html:1.56.2.9.4.1.2.1 | |
174 | --- bind9/doc/arm/Bv9ARM.ch06.html:1.56.2.9.4.1 Mon Feb 17 06:55:04 2003 | |
175 | +++ bind9/doc/arm/Bv9ARM.ch06.html Wed Sep 17 06:52:11 2003 | |
176 | @@ -94,7 +94,7 @@ | |
177 | ></DT | |
178 | ><DT | |
179 | >6.3. <A | |
180 | -HREF="Bv9ARM.ch06.html#AEN3565" | |
181 | +HREF="Bv9ARM.ch06.html#AEN3586" | |
182 | >Zone File</A | |
183 | ></DT | |
184 | ></DL | |
185 | @@ -2994,6 +2994,32 @@ | |
186 | </P | |
187 | ></TD | |
188 | ></TR | |
189 | +><TR | |
190 | +><TD | |
191 | +WIDTH="110" | |
192 | +ALIGN="LEFT" | |
193 | +VALIGN="MIDDLE" | |
194 | +><P | |
195 | +><B | |
196 | +CLASS="command" | |
197 | +>delegation-only</B | |
198 | +></P | |
199 | +></TD | |
200 | +><TD | |
201 | +WIDTH="322" | |
202 | +ALIGN="LEFT" | |
203 | +VALIGN="MIDDLE" | |
204 | +><P | |
205 | +>Delegation only. Logs queries that have have | |
206 | +been forced to NXDOMAIN as the result of a delegation-only zone or | |
207 | +a <B | |
208 | +CLASS="command" | |
209 | +>delegation-only</B | |
210 | +> in a stub or forward | |
211 | +zone declartation. | |
212 | +</P | |
213 | +></TD | |
214 | +></TR | |
215 | ></TBODY | |
216 | ></TABLE | |
217 | ><P | |
218 | @@ -3006,7 +3032,7 @@ | |
219 | ><H2 | |
220 | CLASS="sect2" | |
221 | ><A | |
222 | -NAME="AEN1859" | |
223 | +NAME="AEN1866" | |
224 | >6.2.11. <B | |
225 | CLASS="command" | |
226 | >lwres</B | |
227 | @@ -3103,7 +3129,7 @@ | |
228 | ><H2 | |
229 | CLASS="sect2" | |
230 | ><A | |
231 | -NAME="AEN1883" | |
232 | +NAME="AEN1890" | |
233 | >6.2.12. <B | |
234 | CLASS="command" | |
235 | >lwres</B | |
236 | @@ -3177,7 +3203,7 @@ | |
237 | ><H2 | |
238 | CLASS="sect2" | |
239 | ><A | |
240 | -NAME="AEN1902" | |
241 | +NAME="AEN1909" | |
242 | >6.2.13. <B | |
243 | CLASS="command" | |
244 | >options</B | |
245 | @@ -4166,7 +4192,7 @@ | |
246 | ><H2 | |
247 | CLASS="sect2" | |
248 | ><A | |
249 | -NAME="AEN2127" | |
250 | +NAME="AEN2134" | |
251 | >6.2.14. <B | |
252 | CLASS="command" | |
253 | >options</B | |
254 | @@ -5161,7 +5187,7 @@ | |
255 | ><H3 | |
256 | CLASS="sect3" | |
257 | ><A | |
258 | -NAME="AEN2427" | |
259 | +NAME="AEN2434" | |
260 | >6.2.14.2. Forwarding</A | |
261 | ></H3 | |
262 | ><P | |
263 | @@ -5365,7 +5391,7 @@ | |
264 | ><H3 | |
265 | CLASS="sect3" | |
266 | ><A | |
267 | -NAME="AEN2492" | |
268 | +NAME="AEN2499" | |
269 | >6.2.14.4. Interfaces</A | |
270 | ></H3 | |
271 | ><P | |
272 | @@ -5460,7 +5486,7 @@ | |
273 | ><H3 | |
274 | CLASS="sect3" | |
275 | ><A | |
276 | -NAME="AEN2518" | |
277 | +NAME="AEN2525" | |
278 | >6.2.14.5. Query Address</A | |
279 | ></H3 | |
280 | ><P | |
281 | @@ -5892,7 +5918,7 @@ | |
282 | ><H3 | |
283 | CLASS="sect3" | |
284 | ><A | |
285 | -NAME="AEN2657" | |
286 | +NAME="AEN2664" | |
287 | >6.2.14.7. Operating System Resource Limits</A | |
288 | ></H3 | |
289 | ><P | |
290 | @@ -6012,7 +6038,7 @@ | |
291 | ><H3 | |
292 | CLASS="sect3" | |
293 | ><A | |
294 | -NAME="AEN2694" | |
295 | +NAME="AEN2701" | |
296 | >6.2.14.8. Server Resource Limits</A | |
297 | ></H3 | |
298 | ><P | |
299 | @@ -6096,7 +6122,7 @@ | |
300 | ><H3 | |
301 | CLASS="sect3" | |
302 | ><A | |
303 | -NAME="AEN2722" | |
304 | +NAME="AEN2729" | |
305 | >6.2.14.9. Periodic Task Intervals</A | |
306 | ></H3 | |
307 | ><P | |
308 | @@ -6463,7 +6489,7 @@ | |
309 | ><DIV | |
310 | CLASS="informaltable" | |
311 | ><A | |
312 | -NAME="AEN2810" | |
313 | +NAME="AEN2817" | |
314 | ></A | |
315 | ><P | |
316 | ></P | |
317 | @@ -6867,7 +6893,7 @@ | |
318 | ><DIV | |
319 | CLASS="informaltable" | |
320 | ><A | |
321 | -NAME="AEN2925" | |
322 | +NAME="AEN2932" | |
323 | ></A | |
324 | ><P | |
325 | ></P | |
326 | @@ -7303,7 +7329,7 @@ | |
327 | ><H2 | |
328 | CLASS="sect2" | |
329 | ><A | |
330 | -NAME="AEN3040" | |
331 | +NAME="AEN3047" | |
332 | >6.2.17. <B | |
333 | CLASS="command" | |
334 | >trusted-keys</B | |
335 | @@ -7378,7 +7404,7 @@ | |
336 | ><H2 | |
337 | CLASS="sect2" | |
338 | ><A | |
339 | -NAME="AEN3056" | |
340 | +NAME="AEN3063" | |
341 | >6.2.18. <B | |
342 | CLASS="command" | |
343 | >trusted-keys</B | |
344 | @@ -7413,7 +7439,7 @@ | |
345 | ><H2 | |
346 | CLASS="sect2" | |
347 | ><A | |
348 | -NAME="AEN3064" | |
349 | +NAME="AEN3071" | |
350 | >6.2.19. <B | |
351 | CLASS="command" | |
352 | >view</B | |
353 | @@ -7488,7 +7514,7 @@ | |
354 | ><H2 | |
355 | CLASS="sect2" | |
356 | ><A | |
357 | -NAME="AEN3080" | |
358 | +NAME="AEN3087" | |
359 | >6.2.20. <B | |
360 | CLASS="command" | |
361 | >view</B | |
362 | @@ -7675,7 +7701,7 @@ | |
363 | >] [<SPAN | |
364 | CLASS="optional" | |
365 | >{ | |
366 | - type ( master | slave | hint | stub | forward ) ; | |
367 | + type ( master | slave | hint | stub | forward /| delegation-only ) ; | |
368 | [<SPAN | |
369 | CLASS="optional" | |
370 | > allow-notify { <TT | |
371 | @@ -7790,6 +7816,15 @@ | |
372 | >] | |
373 | [<SPAN | |
374 | CLASS="optional" | |
375 | +> delegation-only <TT | |
376 | +CLASS="replaceable" | |
377 | +><I | |
378 | +>yes_or_no</I | |
379 | +></TT | |
380 | +> ; </SPAN | |
381 | +>] | |
382 | + [<SPAN | |
383 | +CLASS="optional" | |
384 | > file <TT | |
385 | CLASS="replaceable" | |
386 | ><I | |
387 | @@ -8139,7 +8174,7 @@ | |
388 | ><H2 | |
389 | CLASS="sect2" | |
390 | ><A | |
391 | -NAME="AEN3231" | |
392 | +NAME="AEN3240" | |
393 | >6.2.22. <B | |
394 | CLASS="command" | |
395 | >zone</B | |
396 | @@ -8150,13 +8185,13 @@ | |
397 | ><H3 | |
398 | CLASS="sect3" | |
399 | ><A | |
400 | -NAME="AEN3234" | |
401 | +NAME="AEN3243" | |
402 | >6.2.22.1. Zone Types</A | |
403 | ></H3 | |
404 | ><DIV | |
405 | CLASS="informaltable" | |
406 | ><A | |
407 | -NAME="AEN3236" | |
408 | +NAME="AEN3245" | |
409 | ></A | |
410 | ><P | |
411 | ></P | |
412 | @@ -8383,6 +8418,29 @@ | |
413 | Classes other than IN have no built-in defaults hints.</P | |
414 | ></TD | |
415 | ></TR | |
416 | +><TR | |
417 | +><TD | |
418 | +WIDTH="87" | |
419 | +ALIGN="LEFT" | |
420 | +VALIGN="MIDDLE" | |
421 | +><P | |
422 | +><TT | |
423 | +CLASS="varname" | |
424 | +>delegation-only</TT | |
425 | +></P | |
426 | +></TD | |
427 | +><TD | |
428 | +WIDTH="405" | |
429 | +ALIGN="LEFT" | |
430 | +VALIGN="MIDDLE" | |
431 | +><P | |
432 | +>This is used to enforce the delegation only | |
433 | +status of infrastructure zones (e.g. COM, NET, ORG). Any answer that | |
434 | +is received without a explicit or implict delegation in the authority | |
435 | +section will be treated as NXDOMAIN. This does not apply to the zone | |
436 | +apex. This SHOULD NOT be applied to leaf zones.</P | |
437 | +></TD | |
438 | +></TR | |
439 | ></TBODY | |
440 | ></TABLE | |
441 | ><P | |
442 | @@ -8394,7 +8452,7 @@ | |
443 | ><H3 | |
444 | CLASS="sect3" | |
445 | ><A | |
446 | -NAME="AEN3291" | |
447 | +NAME="AEN3306" | |
448 | >6.2.22.2. Class</A | |
449 | ></H3 | |
450 | ><P | |
451 | @@ -8432,7 +8490,7 @@ | |
452 | ><H3 | |
453 | CLASS="sect3" | |
454 | ><A | |
455 | -NAME="AEN3301" | |
456 | +NAME="AEN3316" | |
457 | >6.2.22.3. Zone Options</A | |
458 | ></H3 | |
459 | ><P | |
460 | @@ -8655,6 +8713,23 @@ | |
461 | ><DT | |
462 | ><B | |
463 | CLASS="command" | |
464 | +>delegation-only</B | |
465 | +></DT | |
466 | +><DD | |
467 | +><P | |
468 | +>The flag only applies to forward and stub zones. If set | |
469 | +to <TT | |
470 | +CLASS="userinput" | |
471 | +><B | |
472 | +>yes</B | |
473 | +></TT | |
474 | +> then the zone will also be treated as if it | |
475 | +is also a delegation-only type zone. | |
476 | +</P | |
477 | +></DD | |
478 | +><DT | |
479 | +><B | |
480 | +CLASS="command" | |
481 | >forward</B | |
482 | ></DT | |
483 | ><DD | |
484 | @@ -9073,7 +9148,7 @@ | |
485 | ><DIV | |
486 | CLASS="informaltable" | |
487 | ><A | |
488 | -NAME="AEN3535" | |
489 | +NAME="AEN3556" | |
490 | ></A | |
491 | ><P | |
492 | ></P | |
493 | @@ -9180,7 +9255,7 @@ | |
494 | ><H1 | |
495 | CLASS="sect1" | |
496 | ><A | |
497 | -NAME="AEN3565" | |
498 | +NAME="AEN3586" | |
499 | >6.3. Zone File</A | |
500 | ></H1 | |
501 | ><DIV | |
502 | @@ -9201,7 +9276,7 @@ | |
503 | ><H3 | |
504 | CLASS="sect3" | |
505 | ><A | |
506 | -NAME="AEN3570" | |
507 | +NAME="AEN3591" | |
508 | >6.3.1.1. Resource Records</A | |
509 | ></H3 | |
510 | ><P | |
511 | @@ -9224,7 +9299,7 @@ | |
512 | ><DIV | |
513 | CLASS="informaltable" | |
514 | ><A | |
515 | -NAME="AEN3576" | |
516 | +NAME="AEN3597" | |
517 | ></A | |
518 | ><P | |
519 | ></P | |
520 | @@ -9338,7 +9413,7 @@ | |
521 | ><DIV | |
522 | CLASS="informaltable" | |
523 | ><A | |
524 | -NAME="AEN3608" | |
525 | +NAME="AEN3629" | |
526 | ></A | |
527 | ><P | |
528 | ></P | |
529 | @@ -9832,7 +9907,7 @@ | |
530 | ><DIV | |
531 | CLASS="informaltable" | |
532 | ><A | |
533 | -NAME="AEN3755" | |
534 | +NAME="AEN3776" | |
535 | ></A | |
536 | ><P | |
537 | ></P | |
538 | @@ -9887,7 +9962,7 @@ | |
539 | ><DIV | |
540 | CLASS="informaltable" | |
541 | ><A | |
542 | -NAME="AEN3771" | |
543 | +NAME="AEN3792" | |
544 | ></A | |
545 | ><P | |
546 | ></P | |
547 | @@ -10064,7 +10139,7 @@ | |
548 | ><H3 | |
549 | CLASS="sect3" | |
550 | ><A | |
551 | -NAME="AEN3819" | |
552 | +NAME="AEN3840" | |
553 | >6.3.1.2. Textual expression of RRs</A | |
554 | ></H3 | |
555 | ><P | |
556 | @@ -10094,7 +10169,7 @@ | |
557 | ><DIV | |
558 | CLASS="informaltable" | |
559 | ><A | |
560 | -NAME="AEN3826" | |
561 | +NAME="AEN3847" | |
562 | ></A | |
563 | ><P | |
564 | ></P | |
565 | @@ -10303,7 +10378,7 @@ | |
566 | ><DIV | |
567 | CLASS="informaltable" | |
568 | ><A | |
569 | -NAME="AEN3892" | |
570 | +NAME="AEN3913" | |
571 | ></A | |
572 | ><P | |
573 | ></P | |
574 | @@ -10394,7 +10469,7 @@ | |
575 | ><H2 | |
576 | CLASS="sect2" | |
577 | ><A | |
578 | -NAME="AEN3920" | |
579 | +NAME="AEN3941" | |
580 | >6.3.2. Discussion of MX Records</A | |
581 | ></H2 | |
582 | ><P | |
583 | @@ -10430,7 +10505,7 @@ | |
584 | ><DIV | |
585 | CLASS="informaltable" | |
586 | ><A | |
587 | -NAME="AEN3926" | |
588 | +NAME="AEN3947" | |
589 | ></A | |
590 | ><P | |
591 | ></P | |
592 | @@ -10726,7 +10801,7 @@ | |
593 | ><DIV | |
594 | CLASS="informaltable" | |
595 | ><A | |
596 | -NAME="AEN4018" | |
597 | +NAME="AEN4039" | |
598 | ></A | |
599 | ><P | |
600 | ></P | |
601 | @@ -10809,7 +10884,7 @@ | |
602 | ><H2 | |
603 | CLASS="sect2" | |
604 | ><A | |
605 | -NAME="AEN4041" | |
606 | +NAME="AEN4062" | |
607 | >6.3.4. Inverse Mapping in IPv4</A | |
608 | ></H2 | |
609 | ><P | |
610 | @@ -10836,7 +10911,7 @@ | |
611 | ><DIV | |
612 | CLASS="informaltable" | |
613 | ><A | |
614 | -NAME="AEN4046" | |
615 | +NAME="AEN4067" | |
616 | ></A | |
617 | ><P | |
618 | ></P | |
619 | @@ -10916,7 +10991,7 @@ | |
620 | ><H2 | |
621 | CLASS="sect2" | |
622 | ><A | |
623 | -NAME="AEN4068" | |
624 | +NAME="AEN4089" | |
625 | >6.3.5. Other Zone File Directives</A | |
626 | ></H2 | |
627 | ><P | |
628 | @@ -10941,7 +11016,7 @@ | |
629 | ><H3 | |
630 | CLASS="sect3" | |
631 | ><A | |
632 | -NAME="AEN4075" | |
633 | +NAME="AEN4096" | |
634 | >6.3.5.1. The <B | |
635 | CLASS="command" | |
636 | >$ORIGIN</B | |
637 | @@ -11011,7 +11086,7 @@ | |
638 | ><H3 | |
639 | CLASS="sect3" | |
640 | ><A | |
641 | -NAME="AEN4095" | |
642 | +NAME="AEN4116" | |
643 | >6.3.5.2. The <B | |
644 | CLASS="command" | |
645 | >$INCLUDE</B | |
646 | @@ -11093,7 +11168,7 @@ | |
647 | ><H3 | |
648 | CLASS="sect3" | |
649 | ><A | |
650 | -NAME="AEN4115" | |
651 | +NAME="AEN4136" | |
652 | >6.3.5.3. The <B | |
653 | CLASS="command" | |
654 | >$TTL</B | |
655 | @@ -11133,7 +11208,7 @@ | |
656 | ><H2 | |
657 | CLASS="sect2" | |
658 | ><A | |
659 | -NAME="AEN4126" | |
660 | +NAME="AEN4147" | |
661 | >6.3.6. <SPAN | |
662 | CLASS="acronym" | |
663 | >BIND</SPAN | |
664 | @@ -11212,7 +11287,7 @@ | |
665 | ><DIV | |
666 | CLASS="informaltable" | |
667 | ><A | |
668 | -NAME="AEN4146" | |
669 | +NAME="AEN4167" | |
670 | ></A | |
671 | ><P | |
672 | ></P | |
673 | Index: bind9/doc/arm/Bv9ARM.ch07.html | |
674 | diff -u bind9/doc/arm/Bv9ARM.ch07.html:1.50.2.7 bind9/doc/arm/Bv9ARM.ch07.html:1.50.2.7.8.1 | |
675 | --- bind9/doc/arm/Bv9ARM.ch07.html:1.50.2.7 Tue Aug 6 05:54:04 2002 | |
676 | +++ bind9/doc/arm/Bv9ARM.ch07.html Wed Sep 17 06:52:13 2003 | |
677 | @@ -89,7 +89,7 @@ | |
678 | ></DT | |
679 | ><DT | |
680 | >7.2. <A | |
681 | -HREF="Bv9ARM.ch07.html#AEN4218" | |
682 | +HREF="Bv9ARM.ch07.html#AEN4239" | |
683 | ><B | |
684 | CLASS="command" | |
685 | >chroot</B | |
686 | @@ -197,7 +197,7 @@ | |
687 | ><H1 | |
688 | CLASS="sect1" | |
689 | ><A | |
690 | -NAME="AEN4218" | |
691 | +NAME="AEN4239" | |
692 | >7.2. <B | |
693 | CLASS="command" | |
694 | >chroot</B | |
695 | @@ -279,7 +279,7 @@ | |
696 | ><H2 | |
697 | CLASS="sect2" | |
698 | ><A | |
699 | -NAME="AEN4241" | |
700 | +NAME="AEN4262" | |
701 | >7.2.1. The <B | |
702 | CLASS="command" | |
703 | >chroot</B | |
704 | @@ -355,7 +355,7 @@ | |
705 | ><H2 | |
706 | CLASS="sect2" | |
707 | ><A | |
708 | -NAME="AEN4259" | |
709 | +NAME="AEN4280" | |
710 | >7.2.2. Using the <B | |
711 | CLASS="command" | |
712 | >setuid</B | |
713 | Index: bind9/doc/arm/Bv9ARM.ch08.html | |
714 | diff -u bind9/doc/arm/Bv9ARM.ch08.html:1.50.2.7 bind9/doc/arm/Bv9ARM.ch08.html:1.50.2.7.8.1 | |
715 | --- bind9/doc/arm/Bv9ARM.ch08.html:1.50.2.7 Tue Aug 6 05:54:05 2002 | |
716 | +++ bind9/doc/arm/Bv9ARM.ch08.html Wed Sep 17 06:52:13 2003 | |
717 | @@ -81,17 +81,17 @@ | |
718 | ></DT | |
719 | ><DT | |
720 | >8.1. <A | |
721 | -HREF="Bv9ARM.ch08.html#AEN4280" | |
722 | +HREF="Bv9ARM.ch08.html#AEN4301" | |
723 | >Common Problems</A | |
724 | ></DT | |
725 | ><DT | |
726 | >8.2. <A | |
727 | -HREF="Bv9ARM.ch08.html#AEN4285" | |
728 | +HREF="Bv9ARM.ch08.html#AEN4306" | |
729 | >Incrementing and Changing the Serial Number</A | |
730 | ></DT | |
731 | ><DT | |
732 | >8.3. <A | |
733 | -HREF="Bv9ARM.ch08.html#AEN4290" | |
734 | +HREF="Bv9ARM.ch08.html#AEN4311" | |
735 | >Where Can I Get Help?</A | |
736 | ></DT | |
737 | ></DL | |
738 | @@ -101,7 +101,7 @@ | |
739 | ><H1 | |
740 | CLASS="sect1" | |
741 | ><A | |
742 | -NAME="AEN4280" | |
743 | +NAME="AEN4301" | |
744 | >8.1. Common Problems</A | |
745 | ></H1 | |
746 | ><DIV | |
747 | @@ -109,7 +109,7 @@ | |
748 | ><H2 | |
749 | CLASS="sect2" | |
750 | ><A | |
751 | -NAME="AEN4282" | |
752 | +NAME="AEN4303" | |
753 | >8.1.1. It's not working; how can I figure out what's wrong?</A | |
754 | ></H2 | |
755 | ><P | |
756 | @@ -125,7 +125,7 @@ | |
757 | ><H1 | |
758 | CLASS="sect1" | |
759 | ><A | |
760 | -NAME="AEN4285" | |
761 | +NAME="AEN4306" | |
762 | >8.2. Incrementing and Changing the Serial Number</A | |
763 | ></H1 | |
764 | ><P | |
765 | @@ -154,7 +154,7 @@ | |
766 | ><H1 | |
767 | CLASS="sect1" | |
768 | ><A | |
769 | -NAME="AEN4290" | |
770 | +NAME="AEN4311" | |
771 | >8.3. Where Can I Get Help?</A | |
772 | ></H1 | |
773 | ><P | |
774 | Index: bind9/doc/arm/Bv9ARM.ch09.html | |
775 | diff -u bind9/doc/arm/Bv9ARM.ch09.html:1.50.2.7 bind9/doc/arm/Bv9ARM.ch09.html:1.50.2.7.8.1 | |
776 | --- bind9/doc/arm/Bv9ARM.ch09.html:1.50.2.7 Tue Aug 6 05:54:05 2002 | |
777 | +++ bind9/doc/arm/Bv9ARM.ch09.html Wed Sep 17 06:52:13 2003 | |
778 | @@ -74,7 +74,7 @@ | |
779 | ></DT | |
780 | ><DT | |
781 | >A.1. <A | |
782 | -HREF="Bv9ARM.ch09.html#AEN4306" | |
783 | +HREF="Bv9ARM.ch09.html#AEN4327" | |
784 | >Acknowledgements</A | |
785 | ></DT | |
786 | ><DT | |
787 | @@ -87,7 +87,7 @@ | |
788 | ></DT | |
789 | ><DT | |
790 | >A.3. <A | |
791 | -HREF="Bv9ARM.ch09.html#AEN4347" | |
792 | +HREF="Bv9ARM.ch09.html#AEN4368" | |
793 | >General <SPAN | |
794 | CLASS="acronym" | |
795 | >DNS</SPAN | |
796 | @@ -105,7 +105,7 @@ | |
797 | ><H1 | |
798 | CLASS="sect1" | |
799 | ><A | |
800 | -NAME="AEN4306" | |
801 | +NAME="AEN4327" | |
802 | >A.1. Acknowledgements</A | |
803 | ></H1 | |
804 | ><DIV | |
805 | @@ -113,7 +113,7 @@ | |
806 | ><H2 | |
807 | CLASS="sect2" | |
808 | ><A | |
809 | -NAME="AEN4308" | |
810 | +NAME="AEN4329" | |
811 | >A.1.1. A Brief History of the <SPAN | |
812 | CLASS="acronym" | |
813 | >DNS</SPAN | |
814 | @@ -248,7 +248,7 @@ | |
815 | ><H3 | |
816 | CLASS="sect3" | |
817 | ><A | |
818 | -NAME="AEN4338" | |
819 | +NAME="AEN4359" | |
820 | >A.2.1.1. HS = hesiod</A | |
821 | ></H3 | |
822 | ><P | |
823 | @@ -269,7 +269,7 @@ | |
824 | ><H3 | |
825 | CLASS="sect3" | |
826 | ><A | |
827 | -NAME="AEN4343" | |
828 | +NAME="AEN4364" | |
829 | >A.2.1.2. CH = chaos</A | |
830 | ></H3 | |
831 | ><P | |
832 | @@ -287,7 +287,7 @@ | |
833 | ><H1 | |
834 | CLASS="sect1" | |
835 | ><A | |
836 | -NAME="AEN4347" | |
837 | +NAME="AEN4368" | |
838 | >A.3. General <SPAN | |
839 | CLASS="acronym" | |
840 | >DNS</SPAN | |
841 | @@ -335,7 +335,7 @@ | |
842 | ><DIV | |
843 | CLASS="informaltable" | |
844 | ><A | |
845 | -NAME="AEN4358" | |
846 | +NAME="AEN4379" | |
847 | ></A | |
848 | ><P | |
849 | ></P | |
850 | @@ -554,7 +554,7 @@ | |
851 | <DIV | |
852 | CLASS="informaltable" | |
853 | ><A | |
854 | -NAME="AEN4427" | |
855 | +NAME="AEN4448" | |
856 | ></A | |
857 | ><P | |
858 | ></P | |
859 | @@ -749,7 +749,7 @@ | |
860 | ><DIV | |
861 | CLASS="informaltable" | |
862 | ><A | |
863 | -NAME="AEN4482" | |
864 | +NAME="AEN4503" | |
865 | ></A | |
866 | ><P | |
867 | ></P | |
868 | @@ -909,19 +909,19 @@ | |
869 | </P | |
870 | ><H3 | |
871 | ><A | |
872 | -NAME="AEN4526" | |
873 | +NAME="AEN4547" | |
874 | >Bibliography</A | |
875 | ></H3 | |
876 | ><H2 | |
877 | CLASS="bibliodiv" | |
878 | ><A | |
879 | -NAME="AEN4527" | |
880 | +NAME="AEN4548" | |
881 | >Standards</A | |
882 | ></H2 | |
883 | ><DIV | |
884 | CLASS="biblioentry" | |
885 | ><A | |
886 | -NAME="AEN4529" | |
887 | +NAME="AEN4550" | |
888 | ></A | |
889 | ><P | |
890 | >[RFC974] <SPAN | |
891 | @@ -938,7 +938,7 @@ | |
892 | ><DIV | |
893 | CLASS="biblioentry" | |
894 | ><A | |
895 | -NAME="AEN4536" | |
896 | +NAME="AEN4557" | |
897 | ></A | |
898 | ><P | |
899 | >[RFC1034] <SPAN | |
900 | @@ -955,7 +955,7 @@ | |
901 | ><DIV | |
902 | CLASS="biblioentry" | |
903 | ><A | |
904 | -NAME="AEN4543" | |
905 | +NAME="AEN4564" | |
906 | ></A | |
907 | ><P | |
908 | >[RFC1035] <SPAN | |
909 | @@ -979,7 +979,7 @@ | |
910 | ><DIV | |
911 | CLASS="biblioentry" | |
912 | ><A | |
913 | -NAME="AEN4552" | |
914 | +NAME="AEN4573" | |
915 | ></A | |
916 | ><P | |
917 | >[RFC2181] <SPAN | |
918 | @@ -999,7 +999,7 @@ | |
919 | ><DIV | |
920 | CLASS="biblioentry" | |
921 | ><A | |
922 | -NAME="AEN4560" | |
923 | +NAME="AEN4581" | |
924 | ></A | |
925 | ><P | |
926 | >[RFC2308] <SPAN | |
927 | @@ -1019,7 +1019,7 @@ | |
928 | ><DIV | |
929 | CLASS="biblioentry" | |
930 | ><A | |
931 | -NAME="AEN4568" | |
932 | +NAME="AEN4589" | |
933 | ></A | |
934 | ><P | |
935 | >[RFC1995] <SPAN | |
936 | @@ -1039,7 +1039,7 @@ | |
937 | ><DIV | |
938 | CLASS="biblioentry" | |
939 | ><A | |
940 | -NAME="AEN4576" | |
941 | +NAME="AEN4597" | |
942 | ></A | |
943 | ><P | |
944 | >[RFC1996] <SPAN | |
945 | @@ -1056,7 +1056,7 @@ | |
946 | ><DIV | |
947 | CLASS="biblioentry" | |
948 | ><A | |
949 | -NAME="AEN4583" | |
950 | +NAME="AEN4604" | |
951 | ></A | |
952 | ><P | |
953 | >[RFC2136] <SPAN | |
954 | @@ -1082,7 +1082,7 @@ | |
955 | ><DIV | |
956 | CLASS="biblioentry" | |
957 | ><A | |
958 | -NAME="AEN4600" | |
959 | +NAME="AEN4621" | |
960 | ></A | |
961 | ><P | |
962 | >[RFC2845] <SPAN | |
963 | @@ -1111,13 +1111,13 @@ | |
964 | ><H2 | |
965 | CLASS="bibliodiv" | |
966 | ><A | |
967 | -NAME="AEN4619" | |
968 | +NAME="AEN4640" | |
969 | >Proposed Standards Still Under Development</A | |
970 | ></H2 | |
971 | ><DIV | |
972 | CLASS="biblioentry" | |
973 | ><A | |
974 | -NAME="AEN4624" | |
975 | +NAME="AEN4645" | |
976 | ></A | |
977 | ><P | |
978 | >[RFC1886] <SPAN | |
979 | @@ -1140,7 +1140,7 @@ | |
980 | ><DIV | |
981 | CLASS="biblioentry" | |
982 | ><A | |
983 | -NAME="AEN4636" | |
984 | +NAME="AEN4657" | |
985 | ></A | |
986 | ><P | |
987 | >[RFC2065] <SPAN | |
988 | @@ -1160,7 +1160,7 @@ | |
989 | ><DIV | |
990 | CLASS="biblioentry" | |
991 | ><A | |
992 | -NAME="AEN4648" | |
993 | +NAME="AEN4669" | |
994 | ></A | |
995 | ><P | |
996 | >[RFC2137] <SPAN | |
997 | @@ -1177,7 +1177,7 @@ | |
998 | ><H2 | |
999 | CLASS="bibliodiv" | |
1000 | ><A | |
1001 | -NAME="AEN4656" | |
1002 | +NAME="AEN4677" | |
1003 | >Other Important RFCs About <SPAN | |
1004 | CLASS="acronym" | |
1005 | >DNS</SPAN | |
1006 | @@ -1186,7 +1186,7 @@ | |
1007 | ><DIV | |
1008 | CLASS="biblioentry" | |
1009 | ><A | |
1010 | -NAME="AEN4659" | |
1011 | +NAME="AEN4680" | |
1012 | ></A | |
1013 | ><P | |
1014 | >[RFC1535] <SPAN | |
1015 | @@ -1206,7 +1206,7 @@ | |
1016 | ><DIV | |
1017 | CLASS="biblioentry" | |
1018 | ><A | |
1019 | -NAME="AEN4667" | |
1020 | +NAME="AEN4688" | |
1021 | ></A | |
1022 | ><P | |
1023 | >[RFC1536] <SPAN | |
1024 | @@ -1238,7 +1238,7 @@ | |
1025 | ><DIV | |
1026 | CLASS="biblioentry" | |
1027 | ><A | |
1028 | -NAME="AEN4688" | |
1029 | +NAME="AEN4709" | |
1030 | ></A | |
1031 | ><P | |
1032 | >[RFC1982] <SPAN | |
1033 | @@ -1258,13 +1258,13 @@ | |
1034 | ><H2 | |
1035 | CLASS="bibliodiv" | |
1036 | ><A | |
1037 | -NAME="AEN4699" | |
1038 | +NAME="AEN4720" | |
1039 | >Resource Record Types</A | |
1040 | ></H2 | |
1041 | ><DIV | |
1042 | CLASS="biblioentry" | |
1043 | ><A | |
1044 | -NAME="AEN4701" | |
1045 | +NAME="AEN4722" | |
1046 | ></A | |
1047 | ><P | |
1048 | >[RFC1183] <SPAN | |
1049 | @@ -1293,7 +1293,7 @@ | |
1050 | ><DIV | |
1051 | CLASS="biblioentry" | |
1052 | ><A | |
1053 | -NAME="AEN4719" | |
1054 | +NAME="AEN4740" | |
1055 | ></A | |
1056 | ><P | |
1057 | >[RFC1706] <SPAN | |
1058 | @@ -1316,7 +1316,7 @@ | |
1059 | ><DIV | |
1060 | CLASS="biblioentry" | |
1061 | ><A | |
1062 | -NAME="AEN4731" | |
1063 | +NAME="AEN4752" | |
1064 | ></A | |
1065 | ><P | |
1066 | >[RFC2168] <SPAN | |
1067 | @@ -1337,7 +1337,7 @@ | |
1068 | ><DIV | |
1069 | CLASS="biblioentry" | |
1070 | ><A | |
1071 | -NAME="AEN4742" | |
1072 | +NAME="AEN4763" | |
1073 | ></A | |
1074 | ><P | |
1075 | >[RFC1876] <SPAN | |
1076 | @@ -1364,7 +1364,7 @@ | |
1077 | ><DIV | |
1078 | CLASS="biblioentry" | |
1079 | ><A | |
1080 | -NAME="AEN4759" | |
1081 | +NAME="AEN4780" | |
1082 | ></A | |
1083 | ><P | |
1084 | >[RFC2052] <SPAN | |
1085 | @@ -1388,7 +1388,7 @@ | |
1086 | ><DIV | |
1087 | CLASS="biblioentry" | |
1088 | ><A | |
1089 | -NAME="AEN4771" | |
1090 | +NAME="AEN4792" | |
1091 | ></A | |
1092 | ><P | |
1093 | >[RFC2163] <SPAN | |
1094 | @@ -1409,7 +1409,7 @@ | |
1095 | ><DIV | |
1096 | CLASS="biblioentry" | |
1097 | ><A | |
1098 | -NAME="AEN4779" | |
1099 | +NAME="AEN4800" | |
1100 | ></A | |
1101 | ><P | |
1102 | >[RFC2230] <SPAN | |
1103 | @@ -1429,7 +1429,7 @@ | |
1104 | ><H2 | |
1105 | CLASS="bibliodiv" | |
1106 | ><A | |
1107 | -NAME="AEN4787" | |
1108 | +NAME="AEN4808" | |
1109 | ><SPAN | |
1110 | CLASS="acronym" | |
1111 | >DNS</SPAN | |
1112 | @@ -1438,7 +1438,7 @@ | |
1113 | ><DIV | |
1114 | CLASS="biblioentry" | |
1115 | ><A | |
1116 | -NAME="AEN4790" | |
1117 | +NAME="AEN4811" | |
1118 | ></A | |
1119 | ><P | |
1120 | >[RFC1101] <SPAN | |
1121 | @@ -1458,7 +1458,7 @@ | |
1122 | ><DIV | |
1123 | CLASS="biblioentry" | |
1124 | ><A | |
1125 | -NAME="AEN4798" | |
1126 | +NAME="AEN4819" | |
1127 | ></A | |
1128 | ><P | |
1129 | >[RFC1123] <SPAN | |
1130 | @@ -1475,7 +1475,7 @@ | |
1131 | ><DIV | |
1132 | CLASS="biblioentry" | |
1133 | ><A | |
1134 | -NAME="AEN4805" | |
1135 | +NAME="AEN4826" | |
1136 | ></A | |
1137 | ><P | |
1138 | >[RFC1591] <SPAN | |
1139 | @@ -1492,7 +1492,7 @@ | |
1140 | ><DIV | |
1141 | CLASS="biblioentry" | |
1142 | ><A | |
1143 | -NAME="AEN4812" | |
1144 | +NAME="AEN4833" | |
1145 | ></A | |
1146 | ><P | |
1147 | >[RFC2317] <SPAN | |
1148 | @@ -1515,7 +1515,7 @@ | |
1149 | ><H2 | |
1150 | CLASS="bibliodiv" | |
1151 | ><A | |
1152 | -NAME="AEN4826" | |
1153 | +NAME="AEN4847" | |
1154 | ><SPAN | |
1155 | CLASS="acronym" | |
1156 | >DNS</SPAN | |
1157 | @@ -1524,7 +1524,7 @@ | |
1158 | ><DIV | |
1159 | CLASS="biblioentry" | |
1160 | ><A | |
1161 | -NAME="AEN4829" | |
1162 | +NAME="AEN4850" | |
1163 | ></A | |
1164 | ><P | |
1165 | >[RFC1537] <SPAN | |
1166 | @@ -1544,7 +1544,7 @@ | |
1167 | ><DIV | |
1168 | CLASS="biblioentry" | |
1169 | ><A | |
1170 | -NAME="AEN4837" | |
1171 | +NAME="AEN4858" | |
1172 | ></A | |
1173 | ><P | |
1174 | >[RFC1912] <SPAN | |
1175 | @@ -1564,7 +1564,7 @@ | |
1176 | ><DIV | |
1177 | CLASS="biblioentry" | |
1178 | ><A | |
1179 | -NAME="AEN4845" | |
1180 | +NAME="AEN4866" | |
1181 | ></A | |
1182 | ><P | |
1183 | >[RFC1912] <SPAN | |
1184 | @@ -1584,7 +1584,7 @@ | |
1185 | ><DIV | |
1186 | CLASS="biblioentry" | |
1187 | ><A | |
1188 | -NAME="AEN4853" | |
1189 | +NAME="AEN4874" | |
1190 | ></A | |
1191 | ><P | |
1192 | >[RFC2010] <SPAN | |
1193 | @@ -1604,7 +1604,7 @@ | |
1194 | ><DIV | |
1195 | CLASS="biblioentry" | |
1196 | ><A | |
1197 | -NAME="AEN4864" | |
1198 | +NAME="AEN4885" | |
1199 | ></A | |
1200 | ><P | |
1201 | >[RFC2219] <SPAN | |
1202 | @@ -1627,7 +1627,7 @@ | |
1203 | ><H2 | |
1204 | CLASS="bibliodiv" | |
1205 | ><A | |
1206 | -NAME="AEN4876" | |
1207 | +NAME="AEN4897" | |
1208 | >Other <SPAN | |
1209 | CLASS="acronym" | |
1210 | >DNS</SPAN | |
1211 | @@ -1636,7 +1636,7 @@ | |
1212 | ><DIV | |
1213 | CLASS="biblioentry" | |
1214 | ><A | |
1215 | -NAME="AEN4882" | |
1216 | +NAME="AEN4903" | |
1217 | ></A | |
1218 | ><P | |
1219 | >[RFC1464] <SPAN | |
1220 | @@ -1653,7 +1653,7 @@ | |
1221 | ><DIV | |
1222 | CLASS="biblioentry" | |
1223 | ><A | |
1224 | -NAME="AEN4889" | |
1225 | +NAME="AEN4910" | |
1226 | ></A | |
1227 | ><P | |
1228 | >[RFC1713] <SPAN | |
1229 | @@ -1673,7 +1673,7 @@ | |
1230 | ><DIV | |
1231 | CLASS="biblioentry" | |
1232 | ><A | |
1233 | -NAME="AEN4897" | |
1234 | +NAME="AEN4918" | |
1235 | ></A | |
1236 | ><P | |
1237 | >[RFC1794] <SPAN | |
1238 | @@ -1693,7 +1693,7 @@ | |
1239 | ><DIV | |
1240 | CLASS="biblioentry" | |
1241 | ><A | |
1242 | -NAME="AEN4905" | |
1243 | +NAME="AEN4926" | |
1244 | ></A | |
1245 | ><P | |
1246 | >[RFC2240] <SPAN | |
1247 | @@ -1710,7 +1710,7 @@ | |
1248 | ><DIV | |
1249 | CLASS="biblioentry" | |
1250 | ><A | |
1251 | -NAME="AEN4912" | |
1252 | +NAME="AEN4933" | |
1253 | ></A | |
1254 | ><P | |
1255 | >[RFC2345] <SPAN | |
1256 | @@ -1733,7 +1733,7 @@ | |
1257 | ><DIV | |
1258 | CLASS="biblioentry" | |
1259 | ><A | |
1260 | -NAME="AEN4926" | |
1261 | +NAME="AEN4947" | |
1262 | ></A | |
1263 | ><P | |
1264 | >[RFC2352] <SPAN | |
1265 | @@ -1750,13 +1750,13 @@ | |
1266 | ><H2 | |
1267 | CLASS="bibliodiv" | |
1268 | ><A | |
1269 | -NAME="AEN4933" | |
1270 | +NAME="AEN4954" | |
1271 | >Obsolete and Unimplemented Experimental RRs</A | |
1272 | ></H2 | |
1273 | ><DIV | |
1274 | CLASS="biblioentry" | |
1275 | ><A | |
1276 | -NAME="AEN4935" | |
1277 | +NAME="AEN4956" | |
1278 | ></A | |
1279 | ><P | |
1280 | >[RFC1712] <SPAN | |
1281 | @@ -1807,7 +1807,7 @@ | |
1282 | ><H2 | |
1283 | CLASS="sect2" | |
1284 | ><A | |
1285 | -NAME="AEN4956" | |
1286 | +NAME="AEN4977" | |
1287 | >A.4.3. Other Documents About <SPAN | |
1288 | CLASS="acronym" | |
1289 | >BIND</SPAN | |
1290 | @@ -1817,13 +1817,13 @@ | |
1291 | ></P | |
1292 | ><H3 | |
1293 | ><A | |
1294 | -NAME="AEN4960" | |
1295 | +NAME="AEN4981" | |
1296 | >Bibliography</A | |
1297 | ></H3 | |
1298 | ><DIV | |
1299 | CLASS="biblioentry" | |
1300 | ><A | |
1301 | -NAME="AEN4961" | |
1302 | +NAME="AEN4982" | |
1303 | ></A | |
1304 | ><P | |
1305 | ><SPAN | |
1306 | Index: bind9/doc/arm/Bv9ARM.html | |
1307 | diff -u bind9/doc/arm/Bv9ARM.html:1.60.2.7 bind9/doc/arm/Bv9ARM.html:1.60.2.7.8.1 | |
1308 | --- bind9/doc/arm/Bv9ARM.html:1.60.2.7 Tue Aug 6 05:54:05 2002 | |
1309 | +++ bind9/doc/arm/Bv9ARM.html Wed Sep 17 06:52:13 2003 | |
1310 | @@ -494,7 +494,7 @@ | |
1311 | ></DT | |
1312 | ><DT | |
1313 | >6.2.11. <A | |
1314 | -HREF="Bv9ARM.ch06.html#AEN1859" | |
1315 | +HREF="Bv9ARM.ch06.html#AEN1866" | |
1316 | ><B | |
1317 | CLASS="command" | |
1318 | >lwres</B | |
1319 | @@ -502,7 +502,7 @@ | |
1320 | ></DT | |
1321 | ><DT | |
1322 | >6.2.12. <A | |
1323 | -HREF="Bv9ARM.ch06.html#AEN1883" | |
1324 | +HREF="Bv9ARM.ch06.html#AEN1890" | |
1325 | ><B | |
1326 | CLASS="command" | |
1327 | >lwres</B | |
1328 | @@ -510,7 +510,7 @@ | |
1329 | ></DT | |
1330 | ><DT | |
1331 | >6.2.13. <A | |
1332 | -HREF="Bv9ARM.ch06.html#AEN1902" | |
1333 | +HREF="Bv9ARM.ch06.html#AEN1909" | |
1334 | ><B | |
1335 | CLASS="command" | |
1336 | >options</B | |
1337 | @@ -518,7 +518,7 @@ | |
1338 | ></DT | |
1339 | ><DT | |
1340 | >6.2.14. <A | |
1341 | -HREF="Bv9ARM.ch06.html#AEN2127" | |
1342 | +HREF="Bv9ARM.ch06.html#AEN2134" | |
1343 | ><B | |
1344 | CLASS="command" | |
1345 | >options</B | |
1346 | @@ -542,7 +542,7 @@ | |
1347 | ></DT | |
1348 | ><DT | |
1349 | >6.2.17. <A | |
1350 | -HREF="Bv9ARM.ch06.html#AEN3040" | |
1351 | +HREF="Bv9ARM.ch06.html#AEN3047" | |
1352 | ><B | |
1353 | CLASS="command" | |
1354 | >trusted-keys</B | |
1355 | @@ -550,7 +550,7 @@ | |
1356 | ></DT | |
1357 | ><DT | |
1358 | >6.2.18. <A | |
1359 | -HREF="Bv9ARM.ch06.html#AEN3056" | |
1360 | +HREF="Bv9ARM.ch06.html#AEN3063" | |
1361 | ><B | |
1362 | CLASS="command" | |
1363 | >trusted-keys</B | |
1364 | @@ -559,7 +559,7 @@ | |
1365 | ></DT | |
1366 | ><DT | |
1367 | >6.2.19. <A | |
1368 | -HREF="Bv9ARM.ch06.html#AEN3064" | |
1369 | +HREF="Bv9ARM.ch06.html#AEN3071" | |
1370 | ><B | |
1371 | CLASS="command" | |
1372 | >view</B | |
1373 | @@ -567,7 +567,7 @@ | |
1374 | ></DT | |
1375 | ><DT | |
1376 | >6.2.20. <A | |
1377 | -HREF="Bv9ARM.ch06.html#AEN3080" | |
1378 | +HREF="Bv9ARM.ch06.html#AEN3087" | |
1379 | ><B | |
1380 | CLASS="command" | |
1381 | >view</B | |
1382 | @@ -584,7 +584,7 @@ | |
1383 | ></DT | |
1384 | ><DT | |
1385 | >6.2.22. <A | |
1386 | -HREF="Bv9ARM.ch06.html#AEN3231" | |
1387 | +HREF="Bv9ARM.ch06.html#AEN3240" | |
1388 | ><B | |
1389 | CLASS="command" | |
1390 | >zone</B | |
1391 | @@ -594,7 +594,7 @@ | |
1392 | ></DD | |
1393 | ><DT | |
1394 | >6.3. <A | |
1395 | -HREF="Bv9ARM.ch06.html#AEN3565" | |
1396 | +HREF="Bv9ARM.ch06.html#AEN3586" | |
1397 | >Zone File</A | |
1398 | ></DT | |
1399 | ><DD | |
1400 | @@ -606,7 +606,7 @@ | |
1401 | ></DT | |
1402 | ><DT | |
1403 | >6.3.2. <A | |
1404 | -HREF="Bv9ARM.ch06.html#AEN3920" | |
1405 | +HREF="Bv9ARM.ch06.html#AEN3941" | |
1406 | >Discussion of MX Records</A | |
1407 | ></DT | |
1408 | ><DT | |
1409 | @@ -616,17 +616,17 @@ | |
1410 | ></DT | |
1411 | ><DT | |
1412 | >6.3.4. <A | |
1413 | -HREF="Bv9ARM.ch06.html#AEN4041" | |
1414 | +HREF="Bv9ARM.ch06.html#AEN4062" | |
1415 | >Inverse Mapping in IPv4</A | |
1416 | ></DT | |
1417 | ><DT | |
1418 | >6.3.5. <A | |
1419 | -HREF="Bv9ARM.ch06.html#AEN4068" | |
1420 | +HREF="Bv9ARM.ch06.html#AEN4089" | |
1421 | >Other Zone File Directives</A | |
1422 | ></DT | |
1423 | ><DT | |
1424 | >6.3.6. <A | |
1425 | -HREF="Bv9ARM.ch06.html#AEN4126" | |
1426 | +HREF="Bv9ARM.ch06.html#AEN4147" | |
1427 | ><SPAN | |
1428 | CLASS="acronym" | |
1429 | >BIND</SPAN | |
1430 | @@ -656,7 +656,7 @@ | |
1431 | ></DT | |
1432 | ><DT | |
1433 | >7.2. <A | |
1434 | -HREF="Bv9ARM.ch07.html#AEN4218" | |
1435 | +HREF="Bv9ARM.ch07.html#AEN4239" | |
1436 | ><B | |
1437 | CLASS="command" | |
1438 | >chroot</B | |
1439 | @@ -670,7 +670,7 @@ | |
1440 | ><DL | |
1441 | ><DT | |
1442 | >7.2.1. <A | |
1443 | -HREF="Bv9ARM.ch07.html#AEN4241" | |
1444 | +HREF="Bv9ARM.ch07.html#AEN4262" | |
1445 | >The <B | |
1446 | CLASS="command" | |
1447 | >chroot</B | |
1448 | @@ -678,7 +678,7 @@ | |
1449 | ></DT | |
1450 | ><DT | |
1451 | >7.2.2. <A | |
1452 | -HREF="Bv9ARM.ch07.html#AEN4259" | |
1453 | +HREF="Bv9ARM.ch07.html#AEN4280" | |
1454 | >Using the <B | |
1455 | CLASS="command" | |
1456 | >setuid</B | |
1457 | @@ -702,26 +702,26 @@ | |
1458 | ><DL | |
1459 | ><DT | |
1460 | >8.1. <A | |
1461 | -HREF="Bv9ARM.ch08.html#AEN4280" | |
1462 | +HREF="Bv9ARM.ch08.html#AEN4301" | |
1463 | >Common Problems</A | |
1464 | ></DT | |
1465 | ><DD | |
1466 | ><DL | |
1467 | ><DT | |
1468 | >8.1.1. <A | |
1469 | -HREF="Bv9ARM.ch08.html#AEN4282" | |
1470 | +HREF="Bv9ARM.ch08.html#AEN4303" | |
1471 | >It's not working; how can I figure out what's wrong?</A | |
1472 | ></DT | |
1473 | ></DL | |
1474 | ></DD | |
1475 | ><DT | |
1476 | >8.2. <A | |
1477 | -HREF="Bv9ARM.ch08.html#AEN4285" | |
1478 | +HREF="Bv9ARM.ch08.html#AEN4306" | |
1479 | >Incrementing and Changing the Serial Number</A | |
1480 | ></DT | |
1481 | ><DT | |
1482 | >8.3. <A | |
1483 | -HREF="Bv9ARM.ch08.html#AEN4290" | |
1484 | +HREF="Bv9ARM.ch08.html#AEN4311" | |
1485 | >Where Can I Get Help?</A | |
1486 | ></DT | |
1487 | ></DL | |
1488 | @@ -735,14 +735,14 @@ | |
1489 | ><DL | |
1490 | ><DT | |
1491 | >A.1. <A | |
1492 | -HREF="Bv9ARM.ch09.html#AEN4306" | |
1493 | +HREF="Bv9ARM.ch09.html#AEN4327" | |
1494 | >Acknowledgements</A | |
1495 | ></DT | |
1496 | ><DD | |
1497 | ><DL | |
1498 | ><DT | |
1499 | >A.1.1. <A | |
1500 | -HREF="Bv9ARM.ch09.html#AEN4308" | |
1501 | +HREF="Bv9ARM.ch09.html#AEN4329" | |
1502 | >A Brief History of the <SPAN | |
1503 | CLASS="acronym" | |
1504 | >DNS</SPAN | |
1505 | @@ -772,7 +772,7 @@ | |
1506 | ></DD | |
1507 | ><DT | |
1508 | >A.3. <A | |
1509 | -HREF="Bv9ARM.ch09.html#AEN4347" | |
1510 | +HREF="Bv9ARM.ch09.html#AEN4368" | |
1511 | >General <SPAN | |
1512 | CLASS="acronym" | |
1513 | >DNS</SPAN | |
1514 | @@ -806,7 +806,7 @@ | |
1515 | ></DT | |
1516 | ><DT | |
1517 | >A.4.3. <A | |
1518 | -HREF="Bv9ARM.ch09.html#AEN4956" | |
1519 | +HREF="Bv9ARM.ch09.html#AEN4977" | |
1520 | >Other Documents About <SPAN | |
1521 | CLASS="acronym" | |
1522 | >BIND</SPAN | |
1523 | Index: bind9/lib/dns/api | |
1524 | diff -u bind9/lib/dns/api:1.5.2.4.4.1 bind9/lib/dns/api:1.5.2.4.4.1.2.1 | |
1525 | --- bind9/lib/dns/api:1.5.2.4.4.1 Tue Feb 18 03:43:06 2003 | |
1526 | +++ bind9/lib/dns/api Wed Sep 17 06:54:01 2003 | |
1527 | @@ -1,3 +1,3 @@ | |
1528 | -LIBINTERFACE = 8 | |
1529 | -LIBREVISION = 1 | |
1530 | +LIBINTERFACE = 10 | |
1531 | +LIBREVISION = 0 | |
1532 | LIBAGE = 0 | |
1533 | Index: bind9/lib/dns/log.c | |
1534 | diff -u bind9/lib/dns/log.c:1.33.2.2 bind9/lib/dns/log.c:1.33.2.2.12.1 | |
1535 | --- bind9/lib/dns/log.c:1.33.2.2 Thu Oct 11 23:07:00 2001 | |
1536 | +++ bind9/lib/dns/log.c Wed Sep 17 05:40:39 2003 | |
1537 | @@ -15,7 +15,7 @@ | |
1538 | * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
1539 | */ | |
1540 | ||
1541 | -/* $Id$ */ | |
1542 | +/* $Id$ */ | |
1543 | ||
1544 | /* Principal Authors: DCL */ | |
1545 | ||
1546 | @@ -40,6 +40,7 @@ | |
1547 | { "xfer-out", 0 }, | |
1548 | { "dispatch", 0 }, | |
1549 | { "lame-servers", 0 }, | |
1550 | + { "delegation-only", 0 }, | |
1551 | { NULL, 0 } | |
1552 | }; | |
1553 | ||
1554 | Index: bind9/lib/dns/ncache.c | |
1555 | diff -u bind9/lib/dns/ncache.c:1.24.2.2 bind9/lib/dns/ncache.c:1.24.2.2.6.1 | |
1556 | --- bind9/lib/dns/ncache.c:1.24.2.2 Fri Feb 8 03:57:29 2002 | |
1557 | +++ bind9/lib/dns/ncache.c Wed Sep 17 05:40:39 2003 | |
1558 | @@ -15,7 +15,7 @@ | |
1559 | * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
1560 | */ | |
1561 | ||
1562 | -/* $Id$ */ | |
1563 | +/* $Id$ */ | |
1564 | ||
1565 | #include <config.h> | |
1566 | ||
1567 | @@ -121,7 +121,10 @@ | |
1568 | ttl = maxttl; | |
1569 | trust = 0xffff; | |
1570 | isc_buffer_init(&buffer, data, sizeof(data)); | |
1571 | - result = dns_message_firstname(message, DNS_SECTION_AUTHORITY); | |
1572 | + if (message->counts[DNS_SECTION_AUTHORITY]) | |
1573 | + result = dns_message_firstname(message, DNS_SECTION_AUTHORITY); | |
1574 | + else | |
1575 | + result = ISC_R_NOMORE; | |
1576 | while (result == ISC_R_SUCCESS) { | |
1577 | name = NULL; | |
1578 | dns_message_currentname(message, DNS_SECTION_AUTHORITY, | |
1579 | Index: bind9/lib/dns/resolver.c | |
1580 | diff -u bind9/lib/dns/resolver.c:1.218.2.12.4.4 bind9/lib/dns/resolver.c:1.218.2.12.4.4.2.2 | |
1581 | --- bind9/lib/dns/resolver.c:1.218.2.12.4.4 Tue Feb 18 03:32:01 2003 | |
1582 | +++ bind9/lib/dns/resolver.c Wed Sep 17 05:56:16 2003 | |
1583 | @@ -15,7 +15,7 @@ | |
1584 | * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
1585 | */ | |
1586 | ||
1587 | -/* $Id$ */ | |
1588 | +/* $Id$ */ | |
1589 | ||
1590 | #include <config.h> | |
1591 | ||
1592 | @@ -291,6 +291,53 @@ | |
1593 | dns_rdataset_t *ardataset, | |
1594 | isc_result_t *eresultp); | |
1595 | ||
1596 | +static isc_boolean_t | |
1597 | +fix_mustbedelegationornxdomain(dns_message_t *message, dns_name_t *domain) { | |
1598 | + | |
1599 | + dns_name_t *name; | |
1600 | + dns_rdataset_t *rdataset; | |
1601 | + dns_rdatatype_t type; | |
1602 | + isc_result_t result; | |
1603 | + isc_boolean_t keep_auth = ISC_FALSE; | |
1604 | + | |
1605 | + if (message->rcode == dns_rcode_nxdomain) | |
1606 | + return (ISC_FALSE); | |
1607 | + | |
1608 | + /* Look for referral. */ | |
1609 | + if (message->counts[DNS_SECTION_AUTHORITY] == 0) | |
1610 | + goto munge; | |
1611 | + | |
1612 | + result = dns_message_firstname(message, DNS_SECTION_AUTHORITY); | |
1613 | + while (result == ISC_R_SUCCESS) { | |
1614 | + name = NULL; | |
1615 | + dns_message_currentname(message, DNS_SECTION_AUTHORITY, | |
1616 | + &name); | |
1617 | + for (rdataset = ISC_LIST_HEAD(name->list); | |
1618 | + rdataset != NULL; | |
1619 | + rdataset = ISC_LIST_NEXT(rdataset, link)) { | |
1620 | + type = rdataset->type; | |
1621 | + if (type == dns_rdatatype_soa && | |
1622 | + dns_name_equal(name, domain)) | |
1623 | + keep_auth = ISC_TRUE; | |
1624 | + if (type != dns_rdatatype_ns) | |
1625 | + continue; | |
1626 | + if (dns_name_equal(name, domain)) | |
1627 | + goto munge; | |
1628 | + if (dns_name_issubdomain(name, domain)) | |
1629 | + return (ISC_FALSE); | |
1630 | + } | |
1631 | + result = dns_message_nextname(message, DNS_SECTION_AUTHORITY); | |
1632 | + } | |
1633 | + | |
1634 | + munge: | |
1635 | + message->rcode = dns_rcode_nxdomain; | |
1636 | + message->counts[DNS_SECTION_ANSWER] = 0; | |
1637 | + if (!keep_auth) | |
1638 | + message->counts[DNS_SECTION_AUTHORITY] = 0; | |
1639 | + message->counts[DNS_SECTION_ADDITIONAL] = 0; | |
1640 | + return (ISC_TRUE); | |
1641 | +} | |
1642 | + | |
1643 | static inline isc_result_t | |
1644 | fctx_starttimer(fetchctx_t *fctx) { | |
1645 | /* | |
1646 | @@ -4373,6 +4420,24 @@ | |
1647 | broken_server = ISC_TRUE; | |
1648 | keep_trying = ISC_TRUE; | |
1649 | goto done; | |
1650 | + } | |
1651 | + | |
1652 | + /* | |
1653 | + * Enforce delegations only zones like NET and COM. | |
1654 | + */ | |
1655 | + if (dns_view_isdelegationonly(fctx->res->view, &fctx->domain) && | |
1656 | + !dns_name_equal(&fctx->domain, &fctx->name) && | |
1657 | + fix_mustbedelegationornxdomain(message, &fctx->domain)) { | |
1658 | + char namebuf[DNS_NAME_FORMATSIZE]; | |
1659 | + char domainbuf[DNS_NAME_FORMATSIZE]; | |
1660 | + | |
1661 | + dns_name_format(&fctx->name, namebuf, sizeof(namebuf)); | |
1662 | + dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf)); | |
1663 | + | |
1664 | + isc_log_write(dns_lctx, DNS_LOGCATEGORY_DELEGATION_ONLY, | |
1665 | + DNS_LOGMODULE_RESOLVER, ISC_LOG_NOTICE, | |
1666 | + "enforced delegation-only for '%s' (%s)", | |
1667 | + domainbuf, namebuf); | |
1668 | } | |
1669 | ||
1670 | /* | |
1671 | Index: bind9/lib/dns/view.c | |
1672 | diff -u bind9/lib/dns/view.c:1.103.2.2 bind9/lib/dns/view.c:1.103.2.2.6.1 | |
1673 | --- bind9/lib/dns/view.c:1.103.2.2 Mon Aug 5 06:57:12 2002 | |
1674 | +++ bind9/lib/dns/view.c Wed Sep 17 05:40:40 2003 | |
1675 | @@ -15,7 +15,7 @@ | |
1676 | * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
1677 | */ | |
1678 | ||
1679 | -/* $Id$ */ | |
1680 | +/* $Id$ */ | |
1681 | ||
1682 | #include <config.h> | |
1683 | ||
1684 | @@ -45,6 +45,8 @@ | |
1685 | #define ADBSHUTDOWN(v) (((v)->attributes & DNS_VIEWATTR_ADBSHUTDOWN) != 0) | |
1686 | #define REQSHUTDOWN(v) (((v)->attributes & DNS_VIEWATTR_REQSHUTDOWN) != 0) | |
1687 | ||
1688 | +#define DNS_VIEW_DELONLYHASH 111 | |
1689 | + | |
1690 | static void resolver_shutdown(isc_task_t *task, isc_event_t *event); | |
1691 | static void adb_shutdown(isc_task_t *task, isc_event_t *event); | |
1692 | static void req_shutdown(isc_task_t *task, isc_event_t *event); | |
1693 | @@ -139,6 +141,7 @@ | |
1694 | if (result != ISC_R_SUCCESS) | |
1695 | goto cleanup_fwdtable; | |
1696 | view->peers = NULL; | |
1697 | + view->delonly = NULL; | |
1698 | ||
1699 | /* | |
1700 | * Initialize configuration data with default values. | |
1701 | @@ -255,6 +258,23 @@ | |
1702 | dns_acl_detach(&view->v6synthesisacl); | |
1703 | if (view->sortlist != NULL) | |
1704 | dns_acl_detach(&view->sortlist); | |
1705 | + if (view->delonly != NULL) { | |
1706 | + dns_name_t *name; | |
1707 | + int i; | |
1708 | + | |
1709 | + for (i = 0; i < DNS_VIEW_DELONLYHASH; i++) { | |
1710 | + name = ISC_LIST_HEAD(view->delonly[i]); | |
1711 | + while (name != NULL) { | |
1712 | + ISC_LIST_UNLINK(view->delonly[i], name, link); | |
1713 | + dns_name_free(name, view->mctx); | |
1714 | + isc_mem_put(view->mctx, name, sizeof(*name)); | |
1715 | + name = ISC_LIST_HEAD(view->delonly[i]); | |
1716 | + } | |
1717 | + } | |
1718 | + isc_mem_put(view->mctx, view->delonly, sizeof(dns_namelist_t) * | |
1719 | + DNS_VIEW_DELONLYHASH); | |
1720 | + view->delonly = NULL; | |
1721 | + } | |
1722 | dns_keytable_detach(&view->trustedkeys); | |
1723 | dns_keytable_detach(&view->secroots); | |
1724 | dns_fwdtable_destroy(&view->fwdtable); | |
1725 | @@ -1134,4 +1154,58 @@ | |
1726 | ||
1727 | dns_adb_flush(view->adb); | |
1728 | return (ISC_R_SUCCESS); | |
1729 | +} | |
1730 | + | |
1731 | +isc_result_t | |
1732 | +dns_view_adddelegationonly(dns_view_t *view, dns_name_t *name) { | |
1733 | + isc_result_t result; | |
1734 | + dns_name_t *new; | |
1735 | + isc_uint32_t hash; | |
1736 | + | |
1737 | + REQUIRE(DNS_VIEW_VALID(view)); | |
1738 | + | |
1739 | + if (view->delonly == NULL) { | |
1740 | + view->delonly = isc_mem_get(view->mctx, | |
1741 | + sizeof(dns_namelist_t) * | |
1742 | + DNS_VIEW_DELONLYHASH); | |
1743 | + if (view->delonly == NULL) | |
1744 | + return (ISC_R_NOMEMORY); | |
1745 | + for (hash = 0; hash < DNS_VIEW_DELONLYHASH; hash++) | |
1746 | + ISC_LIST_INIT(view->delonly[hash]); | |
1747 | + } | |
1748 | + hash = dns_name_hash(name, ISC_FALSE) % DNS_VIEW_DELONLYHASH; | |
1749 | + new = ISC_LIST_HEAD(view->delonly[hash]); | |
1750 | + while (new != NULL && !dns_name_equal(new, name)) | |
1751 | + new = ISC_LIST_NEXT(new, link); | |
1752 | + if (new != NULL) | |
1753 | + return (ISC_R_SUCCESS); | |
1754 | + new = isc_mem_get(view->mctx, sizeof(*new)); | |
1755 | + if (new == NULL) | |
1756 | + return (ISC_R_NOMEMORY); | |
1757 | + dns_name_init(new, NULL); | |
1758 | + result = dns_name_dup(name, view->mctx, new); | |
1759 | + if (result == ISC_R_SUCCESS) | |
1760 | + ISC_LIST_APPEND(view->delonly[hash], new, link); | |
1761 | + else | |
1762 | + isc_mem_put(view->mctx, new, sizeof(*new)); | |
1763 | + return (result); | |
1764 | +} | |
1765 | + | |
1766 | +isc_result_t | |
1767 | +dns_view_isdelegationonly(dns_view_t *view, dns_name_t *name) { | |
1768 | + dns_name_t *new; | |
1769 | + isc_uint32_t hash; | |
1770 | + | |
1771 | + REQUIRE(DNS_VIEW_VALID(view)); | |
1772 | + | |
1773 | + if (view->delonly == NULL) | |
1774 | + return (ISC_FALSE); | |
1775 | + | |
1776 | + hash = dns_name_hash(name, ISC_FALSE) % DNS_VIEW_DELONLYHASH; | |
1777 | + new = ISC_LIST_HEAD(view->delonly[hash]); | |
1778 | + while (new != NULL && !dns_name_equal(new, name)) | |
1779 | + new = ISC_LIST_NEXT(new, link); | |
1780 | + if (new == NULL) | |
1781 | + return (ISC_FALSE); | |
1782 | + return (ISC_TRUE); | |
1783 | } | |
1784 | Index: bind9/lib/dns/include/dns/log.h | |
1785 | diff -u bind9/lib/dns/include/dns/log.h:1.30.2.1 bind9/lib/dns/include/dns/log.h:1.30.2.1.12.1 | |
1786 | --- bind9/lib/dns/include/dns/log.h:1.30.2.1 Thu Oct 11 02:03:23 2001 | |
1787 | +++ bind9/lib/dns/include/dns/log.h Wed Sep 17 05:40:40 2003 | |
1788 | @@ -15,7 +15,7 @@ | |
1789 | * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
1790 | */ | |
1791 | ||
1792 | -/* $Id$ */ | |
1793 | +/* $Id$ */ | |
1794 | ||
1795 | /* Principal Authors: DCL */ | |
1796 | ||
1797 | @@ -39,6 +39,7 @@ | |
1798 | #define DNS_LOGCATEGORY_XFER_OUT (&dns_categories[7]) | |
1799 | #define DNS_LOGCATEGORY_DISPATCH (&dns_categories[8]) | |
1800 | #define DNS_LOGCATEGORY_LAME_SERVERS (&dns_categories[9]) | |
1801 | +#define DNS_LOGCATEGORY_DELEGATION_ONLY (&dns_categories[10]) | |
1802 | ||
1803 | /* Backwards compatibility. */ | |
1804 | #define DNS_LOGCATEGORY_GENERAL ISC_LOGCATEGORY_GENERAL | |
1805 | Index: bind9/lib/dns/include/dns/view.h | |
1806 | diff -u bind9/lib/dns/include/dns/view.h:1.73.2.2 bind9/lib/dns/include/dns/view.h:1.73.2.2.6.1 | |
1807 | --- bind9/lib/dns/include/dns/view.h:1.73.2.2 Mon Aug 5 06:57:13 2002 | |
1808 | +++ bind9/lib/dns/include/dns/view.h Wed Sep 17 05:40:40 2003 | |
1809 | @@ -15,7 +15,7 @@ | |
1810 | * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
1811 | */ | |
1812 | ||
1813 | -/* $Id$ */ | |
1814 | +/* $Id$ */ | |
1815 | ||
1816 | #ifndef DNS_VIEW_H | |
1817 | #define DNS_VIEW_H 1 | |
1818 | @@ -118,6 +118,7 @@ | |
1819 | in_port_t dstport; | |
1820 | dns_aclenv_t aclenv; | |
1821 | isc_boolean_t flush; | |
1822 | + dns_namelist_t * delonly; | |
1823 | ||
1824 | /* | |
1825 | * Configurable data for server use only, | |
1826 | @@ -690,6 +691,35 @@ | |
1827 | * ISC_R_SUCCESS | |
1828 | * ISC_R_NOMEMORY | |
1829 | */ | |
1830 | + | |
1831 | +isc_result_t | |
1832 | +dns_view_adddelegationonly(dns_view_t *view, dns_name_t *name); | |
1833 | +/* | |
1834 | + * Add the given name to the delegation only table. | |
1835 | + * | |
1836 | + * Requires: | |
1837 | + * 'view' is valid. | |
1838 | + * 'name' is valid. | |
1839 | + * | |
1840 | + * Returns: | |
1841 | + * ISC_R_SUCCESS | |
1842 | + * ISC_R_NOMEMORY | |
1843 | + */ | |
1844 | + | |
1845 | +isc_boolean_t | |
1846 | +dns_view_isdelegationonly(dns_view_t *view, dns_name_t *name); | |
1847 | +/* | |
1848 | + * Check if 'name' is in the delegation only table. | |
1849 | + * | |
1850 | + * Requires: | |
1851 | + * 'view' is valid. | |
1852 | + * 'name' is valid. | |
1853 | + * | |
1854 | + * Returns: | |
1855 | + * ISC_TRUE if the name is is the table. | |
1856 | + * ISC_FALSE othewise. | |
1857 | + */ | |
1858 | + | |
1859 | ||
1860 | ISC_LANG_ENDDECLS | |
1861 | ||
1862 | Index: bind9/lib/isccfg/api | |
1863 | diff -u bind9/lib/isccfg/api:1.3.2.3.4.1 bind9/lib/isccfg/api:1.3.2.3.4.1.2.1 | |
1864 | --- bind9/lib/isccfg/api:1.3.2.3.4.1 Tue Feb 18 03:43:06 2003 | |
1865 | +++ bind9/lib/isccfg/api Wed Sep 17 06:54:01 2003 | |
1866 | @@ -1,3 +1,3 @@ | |
1867 | -LIBINTERFACE = 0 | |
1868 | -LIBREVISION = 4 | |
1869 | +LIBINTERFACE = 1 | |
1870 | +LIBREVISION = 0 | |
1871 | LIBAGE = 0 | |
1872 | Index: bind9/lib/isccfg/check.c | |
1873 | diff -u bind9/lib/isccfg/check.c:1.14.2.16 bind9/lib/isccfg/check.c:1.14.2.16.6.1 | |
1874 | --- bind9/lib/isccfg/check.c:1.14.2.16 Tue Apr 23 02:00:03 2002 | |
1875 | +++ bind9/lib/isccfg/check.c Wed Sep 17 05:40:40 2003 | |
1876 | @@ -15,7 +15,7 @@ | |
1877 | * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
1878 | */ | |
1879 | ||
1880 | -/* $Id$ */ | |
1881 | +/* $Id$ */ | |
1882 | ||
1883 | #include <config.h> | |
1884 | ||
1885 | @@ -100,6 +100,7 @@ | |
1886 | #define STUBZONE 4 | |
1887 | #define HINTZONE 8 | |
1888 | #define FORWARDZONE 16 | |
1889 | +#define DELEGATIONZONE 32 | |
1890 | ||
1891 | typedef struct { | |
1892 | const char *name; | |
1893 | @@ -130,6 +131,7 @@ | |
1894 | { "notify", MASTERZONE | SLAVEZONE }, | |
1895 | { "also-notify", MASTERZONE | SLAVEZONE }, | |
1896 | { "dialup", MASTERZONE | SLAVEZONE | STUBZONE }, | |
1897 | + { "delegation-only", STUBZONE | FORWARDZONE}, | |
1898 | { "forward", MASTERZONE | SLAVEZONE | STUBZONE | FORWARDZONE}, | |
1899 | { "forwarders", MASTERZONE | SLAVEZONE | STUBZONE | FORWARDZONE}, | |
1900 | { "maintain-ixfr-base", MASTERZONE | SLAVEZONE }, | |
1901 | @@ -189,6 +191,8 @@ | |
1902 | ztype = FORWARDZONE; | |
1903 | else if (strcasecmp(typestr, "hint") == 0) | |
1904 | ztype = HINTZONE; | |
1905 | + else if (strcasecmp(typestr, "delegation-only") == 0) | |
1906 | + ztype = DELEGATIONZONE; | |
1907 | else { | |
1908 | cfg_obj_log(obj, logctx, ISC_LOG_ERROR, | |
1909 | "zone '%s': invalid type %s", | |
1910 | Index: bind9/lib/isccfg/parser.c | |
1911 | diff -u bind9/lib/isccfg/parser.c:1.70.2.14.4.2 bind9/lib/isccfg/parser.c:1.70.2.14.4.2.2.1 | |
1912 | --- bind9/lib/isccfg/parser.c:1.70.2.14.4.2 Mon Feb 17 07:05:10 2003 | |
1913 | +++ bind9/lib/isccfg/parser.c Wed Sep 17 05:40:40 2003 | |
1914 | @@ -15,7 +15,7 @@ | |
1915 | * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
1916 | */ | |
1917 | ||
1918 | -/* $Id$ */ | |
1919 | +/* $Id$ */ | |
1920 | ||
1921 | #include <config.h> | |
1922 | ||
1923 | @@ -755,7 +755,7 @@ | |
1924 | }; | |
1925 | ||
1926 | static const char *zonetype_enums[] = { | |
1927 | - "master", "slave", "stub", "hint", "forward", NULL }; | |
1928 | + "master", "slave", "stub", "hint", "forward", "delegation-only", NULL }; | |
1929 | static cfg_type_t cfg_type_zonetype = { | |
1930 | "zonetype", parse_enum, print_ustring, &cfg_rep_string, | |
1931 | &zonetype_enums | |
1932 | @@ -955,6 +955,7 @@ | |
1933 | CFG_CLAUSEFLAG_MULTI | CFG_CLAUSEFLAG_OBSOLETE }, | |
1934 | { "update-policy", &cfg_type_updatepolicy, 0 }, | |
1935 | { "database", &cfg_type_astring, 0 }, | |
1936 | + { "delegation-only", &cfg_type_boolean, 0 }, | |
1937 | /* | |
1938 | * Note that the format of the check-names option is different between | |
1939 | * the zone options and the global/view options. Ugh. |