Hello dnspython users, If I have a dns.zone.Zone object, what's the best way to make a copy of it? I have some code that provides AXFR to a client. My code iterates over all the RRsets in the Zone objects, and returns them in the AXFR.
However, the zone could change while the AXFR is running, so in order to guard against inconsistent records, I want to lock updates, create a copy of the zone, and then serve the AXFR from this copy. Just doing something like "copyofzone = zone" doesn't work, because the Zone object is mutable. Making a change in 'zone' is reflected in 'copyofzone'. Any ideas? Regards, Anand _______________________________________________ dnspython-users mailing list [email protected] http://howl.play-bow.org/mailman/listinfo/dnspython-users
