BIND 10 #1462: check SOA serial in xfrout

BIND 10 Development do-not-reply at isc.org
Sun Dec 4 07:54:51 UTC 2011


#1462: check SOA serial in xfrout
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |                       Status:  new
            Priority:  major         |                    Milestone:  Next-
           Component:  xfrout        |  Sprint-Proposed
           Sensitive:  0             |                     Keywords:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 We need to complete this part of xfrout now that #1278 has been
 merged:

 {{{
         # RFC1995 says "If an IXFR query with the same or newer version
         # number than that of the server is received, it is replied to
 with
         # a single SOA record of the server's current version, just as
         # in AXFR".  The claim about AXFR is incorrect, but other than
 that,
         # we do as the RFC says.
         # Note: until we complete #1278 we can only check equality of the
         # two serials.  The "newer version" case would fall back to AXFR-
 style.
         begin_serial = get_soa_serial(remote_soa.get_rdata()[0])
         end_serial = get_soa_serial(self._soa.get_rdata()[0])
         if begin_serial == end_serial:
             # clear both iterator and jnl_reader to signal we won't do
             # iteration in response generation
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/1462>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list