summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2005-10-17 05:23:58 +0000
committerBob Halley <halley@dnspython.org>2005-10-17 05:23:58 +0000
commit9166868b0b3bd8ffa5420adffd59b09cc3f90c4c (patch)
treefc0b7d9649030a3ff026708e621b2e62631c8e89
parent8e57bde05a804229251f00b67c7105bad69dc78f (diff)
downloaddnspython-9166868b0b3bd8ffa5420adffd59b09cc3f90c4c.tar.gz
note need to match relativize between dns.query.xfr() and dns.zone.from_xfr()
-rw-r--r--dns/zone.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/dns/zone.py b/dns/zone.py
index 67fa432..c875a31 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