BIND 10 #1771: database datasource incorrectly rejects "on zonecut" glue

BIND 10 Development do-not-reply at isc.org
Sat Mar 10 00:48:36 UTC 2012


#1771: database datasource incorrectly rejects "on zonecut" glue
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  jinmei                             |                Status:  new
                       Type:         |             Milestone:  Next-Sprint-
  defect                             |  Proposed
                   Priority:         |            Resolution:
  medium                             |             Sensitive:  0
                  Component:  data   |           Sub-Project:  DNS
  source                             |  Estimated Difficulty:  0
                   Keywords:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Description changed by jinmei:

Old description:

> e.g. in the "example" zone,
>
> {{{
> child.example. IN NS child.example.
> child.example. IN AAAA 2001:db8::1
> }}}
>
> It rejects this setup (at the time of find()) due to this:
>
> {{{#!c++
> DatabaseClient::Finder::getRRsets(const string& name, const WantedTypes&
> types,
>                                   bool check_ns, const string*
> construct_name,
>                                   bool any)
> ...
>     if (check_ns && seen_ns && seen_other) {
>         isc_throw(DataSourceError, "NS shares domain " << name <<
>                   " with something else");
>     }
> }}}
>
> This is incorrect and should be fixed.

New description:

 e.g. in the "example" zone,

 {{{
 child.example. IN NS child.example.
 child.example. IN AAAA 2001:db8::1
 }}}

 It rejects this setup (at the time of find()) due to this:

 {{{#!c++
 DatabaseClient::Finder::getRRsets(const string& name, const WantedTypes&
 types,
                                   bool check_ns, const string*
 construct_name,
                                   bool any)
 ...
     if (check_ns && seen_ns && seen_other) {
         isc_throw(DataSourceError, "NS shares domain " << name <<
                   " with something else");
     }
 }}}

 This is incorrect and should be fixed.

 I'm temporarily disabling tests in zone_finder_context_unittest due to
 this bug (in the work for #1608).  When this ticket is resolved please
 re-enable those tests too.

--

-- 
Ticket URL: <http://bind10.isc.org/ticket/1771#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list