to the empty name
Original author: Bob Halley <halley@dnspython.org>
Date: 2004-10-10 10:57:56
-2004-09-02 Bob Halley <halley@nominum.com>
+2004-10-10 Bob Halley <halley@dnspython.org>
+
+ * dns/zone.py (from_xfr): dns.zone.from_xfr() in relativization
+ mode incorrectly set zone.origin to the empty name.
+
+2004-09-02 Bob Halley <halley@dnspython.org>
* dns/name.py (Name.to_wire): The 'file' parameter to
Name.to_wire() is now optional; if omitted, the wire form will
z = None
for r in xfr:
if z is None:
- origin = r.answer[0].name
+ if relativize:
+ origin = r.origin
+ else:
+ origin = r.answer[0].name
rdclass = r.answer[0].rdclass
z = zone_factory(origin, rdclass, relativize=relativize)
for rrset in r.answer: