From 5e3b3c80f9e614abcf6e77bbf339b0baefecb748 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Thu, 20 Jul 2006 01:51:48 +0000 Subject: [PATCH] deal with up-to-date --- dns/query.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dns/query.py b/dns/query.py index fa79ad8e..66bf946f 100644 --- a/dns/query.py +++ b/dns/query.py @@ -327,6 +327,8 @@ def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN, if rrset.rdtype != dns.rdatatype.SOA: raise dns.exception.FormError soa_rrset = rrset.copy() + if soa_rrset.serial == serial: + done = True # # Count the number of origin SOA RRs in this message # -- 2.47.3