BIND 10 trac1294, updated. ee7fff3113f67a7dddbf069e2a555e6dbac97f69 [1294] also check and do IXFR on notify

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Oct 12 15:05:55 UTC 2011


The branch, trac1294 has been updated
       via  ee7fff3113f67a7dddbf069e2a555e6dbac97f69 (commit)
      from  ee8c0398005c5aff53be33b07d9d0b6fdd353175 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ee7fff3113f67a7dddbf069e2a555e6dbac97f69
Author: Jelte Jansen <jelte at isc.org>
Date:   Wed Oct 12 17:05:35 2011 +0200

    [1294] also check and do IXFR on notify
    
    not just on retransfer and refresh

-----------------------------------------------------------------------

Summary of changes:
 src/bin/xfrin/xfrin.py.in |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/xfrin/xfrin.py.in b/src/bin/xfrin/xfrin.py.in
index 7498fd8..59baa11 100755
--- a/src/bin/xfrin/xfrin.py.in
+++ b/src/bin/xfrin/xfrin.py.in
@@ -1067,12 +1067,15 @@ class Xfrin:
                     logger.error(XFRIN_RETRANSFER_UNKNOWN_ZONE, zone_name.to_text())
                     answer = create_answer(1, errmsg)
                 else:
+                    request_type = RRType.AXFR()
+                    if zone_info.use_ixfr:
+                        request_type = RRType.IXFR()
                     master_addr = zone_info.get_master_addr_info()
                     ret = self.xfrin_start(zone_name,
                                            rrclass,
                                            self._get_db_file(),
                                            master_addr,
-                                           zone_info.tsig_key, RRType.AXFR(),
+                                           zone_info.tsig_key, request_type,
                                            True)
                     answer = create_answer(ret[0], ret[1])
 




More information about the bind10-changes mailing list