diff -u -r bind-9.1.3/CHANGES bind-9.1.3-P1/CHANGES --- bind-9.1.3/CHANGES Tue Jul 3 17:46:41 2001 +++ bind-9.1.3-P1/CHANGES Wed Sep 17 08:19:54 2003 @@ -1,3 +1,6 @@ + --- 9.1.3-P1 released --- + +1504. [func] New zone type "delegation-only". --- 9.1.3 released --- diff -u -r bind-9.1.3/README bind-9.1.3-P1/README --- bind-9.1.3/README Mon Jul 2 21:33:09 2001 +++ bind-9.1.3-P1/README Wed Sep 17 08:19:55 2003 @@ -45,6 +45,10 @@ +BIND 9.1.3-P1 + + A new zone type delegation-only is now supported. + BIND 9.1.3 BIND 9.1.3 is a maintenance release, containing fixes for diff -u -r bind-9.1.3/bin/named/server.c bind-9.1.3-P1/bin/named/server.c --- bind-9.1.3/bin/named/server.c Tue Jul 3 18:39:09 2001 +++ bind-9.1.3-P1/bin/named/server.c Wed Sep 17 09:35:54 2003 @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: server.c,v 1.276.2.3 2001/06/25 08:34:46 marka Exp $ */ +/* $Id: server.c,v 1.276.2.3.6.1 2003/09/17 07:19:47 tale Exp $ */ #include @@ -1086,13 +1086,12 @@ dns_zone_t *dupzone = NULL; dns_c_iplist_t *forwarders = NULL; dns_c_forw_t forward; - isc_result_t result; - char *corigin; isc_buffer_t buffer; dns_fixedname_t fixorigin; dns_name_t *origin; + isc_boolean_t only; /* * Get the zone origin as a dns_name_t. @@ -1169,6 +1168,14 @@ } /* + * "delegation-only zones" aren't zones either. + */ + if (czone->ztype == dns_c_zone_delegationonly) { + result = dns_view_adddelegationonly(view, origin); + goto cleanup; + } + + /* * Check for duplicates in the new zone table. */ result = dns_view_findzone(view, origin, &dupzone); @@ -1231,6 +1238,17 @@ forward = dns_c_forw_first; CHECK(configure_forward(cctx, view, origin, forwarders, forward)); + } + + /* + * Stub and forward zones may also refer to delegation only points. + */ + only = ISC_FALSE; + if ((czone->ztype == dns_c_zone_stub || + czone->ztype == dns_c_zone_forward) && + dns_c_zone_getdelegationonly(czone, &only) == ISC_R_SUCCESS) { + if (only) + CHECK(dns_view_adddelegationonly(view, origin)); } /* diff -u -r bind-9.1.3/doc/arm/Bv9ARM-book.xml bind-9.1.3-P1/doc/arm/Bv9ARM-book.xml --- bind-9.1.3/doc/arm/Bv9ARM-book.xml Wed Jun 27 17:46:32 2001 +++ bind-9.1.3-P1/doc/arm/Bv9ARM-book.xml Wed Sep 17 08:17:30 2003 @@ -2,7 +2,7 @@ - + @@ -2446,6 +2446,14 @@ those servers during resolution. + +delegation-only +Delegation only. Logs queries that have have +been forced to NXDOMAIN as the result of a delegation-only zone or +a delegation-only in a stub or forward +zone declartation. + + @@ -3780,7 +3788,7 @@ <command>zone</command> Statement Grammar zone zone_name class { - type ( master | slave | hint | stub | forward ) ; + type ( master | slave | hint | stub | forward | delegation-only ) ; allow-notify { address_match_list } ; allow-query { address_match_list } ; allow-transfer { address_match_list } ; @@ -3790,6 +3798,7 @@ also-notify { ip_addr port ip_port ; ip_addr port ip_port ; ... }; check-names (warn|fail|ignore) ; dialup dialup_option ; + delegation-only yes_or_no ; file string ; forward (only|first) ; forwarders { ip_addr ; ip_addr ; ... } ; @@ -3907,6 +3916,14 @@ IN, the server uses a compiled-in default set of root servers hints. Classes other than IN have no built-in defaults hints. + +delegation-only +This is used to enforce the delegation only +status of infrastructure zones (e.g. COM, NET, ORG). Any answer that +is received without a explicit or implict delegation in the authority +section will be treated as NXDOMAIN. This does not apply to the zone +apex. This SHOULD NOT be applied to leaf zones. + Class @@ -4018,6 +4035,15 @@ dialup See the description of dialup in . + + + +delegation-only +The flag only applies to forward and stub zones. If set +to yes then the zone will also be treated as if it +is also a delegation-only type zone. + + forward diff -u -r bind-9.1.3/doc/arm/Bv9ARM.ch01.html bind-9.1.3-P1/doc/arm/Bv9ARM.ch01.html --- bind-9.1.3/doc/arm/Bv9ARM.ch01.html Thu Feb 22 00:49:57 2001 +++ bind-9.1.3-P1/doc/arm/Bv9ARM.ch01.html Wed Sep 17 08:17:31 2003 @@ -4,7 +4,7 @@ >Introduction