From: Bob Halley Date: Mon, 17 Oct 2005 05:23:58 +0000 (+0000) Subject: note need to match relativize between dns.query.xfr() and dns.zone.from_xfr() X-Git-Tag: v1.3.5~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9166868b0b3bd8ffa5420adffd59b09cc3f90c4c;p=thirdparty%2Fdnspython.git note need to match relativize between dns.query.xfr() and dns.zone.from_xfr() --- diff --git a/dns/zone.py b/dns/zone.py index 67fa4322..c875a31c 100644 --- a/dns/zone.py +++ b/dns/zone.py @@ -806,7 +806,9 @@ def from_xfr(xfr, zone_factory=Zone, relativize=True): @param xfr: The xfr generator @type xfr: generator of dns.message.Message objects - @param relativize: should names be relativized? The default is True + @param relativize: should names be relativized? The default is True. + It is essential that the relativize setting matches the one specified + to dns.query.xfr(). @type relativize: bool @raises dns.zone.NoSOA: No SOA RR was found at the zone origin @raises dns.zone.NoNS: No NS RRset was found at the zone origin