BIND 10 #1102: Make message about out-of-bailiwick data less verbose

BIND 10 Development do-not-reply at isc.org
Fri Mar 16 21:46:10 UTC 2012


#1102: Make message about out-of-bailiwick data less verbose
-------------------------------------+-------------------------------------
                   Reporter:  shane  |                 Owner:
                       Type:         |                Status:  new
  enhancement                        |             Milestone:  Next-Sprint-
                   Priority:  low    |  Proposed
                  Component:         |            Resolution:
  b10-auth                           |             Sensitive:  0
                   Keywords:         |           Sub-Project:  DNS
            Defect Severity:  Low    |  Estimated Difficulty:  1
Feature Depending on Ticket:  none   |           Total Hours:  0
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jreed):

 Okay to commit this?

 DBG_TRACE_BASIC seems wrong since number is for developers, but no good
 definition of what this should be.

 {{{

 diff --git a/src/lib/datasrc/data_source.cc
 b/src/lib/datasrc/data_source.cc
 index 94dec89..a713b82 100644
 --- a/src/lib/datasrc/data_source.cc
 +++ b/src/lib/datasrc/data_source.cc
 @@ -384,7 +384,8 @@ doQueryTask(QueryTask& task, ZoneInfo& zoneinfo,
 RRsetList& target) {
      const Name* const zonename = zoneinfo.getEnclosingZone();
      if (ds == NULL) {
          task.flags |= DataSrc::NO_SUCH_ZONE;
 -
 logger.info(DATASRC_QUERY_NO_ZONE).arg(task.qname).arg(task.qclass);
 +        LOG_DEBUG(logger, DBG_TRACE_BASIC, DATASRC_QUERY_NO_ZONE).
 +            arg(task.qname).arg(task.qclass);
          return (DataSrc::SUCCESS);
      }

 diff --git a/src/lib/datasrc/datasrc_messages.mes
 b/src/lib/datasrc/datasrc_messages.mes
 index f4ff213..025ca6c 100644
 --- a/src/lib/datasrc/datasrc_messages.mes
 +++ b/src/lib/datasrc/datasrc_messages.mes
 @@ -569,8 +569,9 @@ An attempt to add a NSEC3 record into the message
 failed, because the zone does
  not have any DS record. This indicates problem with the provided data.

  % DATASRC_QUERY_NO_ZONE no zone containing '%1' in class '%2'
 -Lookup of domain failed because the data have no zone that contain the
 -domain. Maybe someone sent a query to the wrong server for some reason.
 +Debug information. Lookup of domain failed because the datasource
 +has no zone that contains the domain. Maybe someone sent a query
 +to the wrong server for some reason.

  % DATASRC_QUERY_PROCESS processing query '%1/%2' in the '%3' class
  Debug information. A sure query is being processed now.

 }}}

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


More information about the bind10-tickets mailing list