from .pdns_zone import PdnsApiZone
from .pdns_record import compare_rrsets
-__version__ = '0.2.5'
+__version__ = '0.2.6'
LOG = logging.getLogger(__name__)
LOG.info("Setting nameservers for zone {!r} ...".format(zone_name))
comment = "Update NS entries on great NS- and SOA-Migration."
- if not self.set_nameservers(zone, new_nameservers, comment=comment):
+ if not self.set_nameservers(zone, new_nameservers, comment=comment, do_serial=False):
return False
zone_parts = zone_name.split('.')
LOG.info("Setting nameservers for zone {z!r} in zone {t!r}.".format(
z=zone_name, t=top_zone_name))
top_zone = self.get_api_zone(top_zone_name)
- return self.set_nameservers(top_zone, new_nameservers, zone_name, comment=comment)
+ return self.set_nameservers(
+ top_zone, new_nameservers, zone_name, comment=comment, do_serial=False)
else:
LOG.debug("Top zone {!r} is not in our responsibility.".format(top_zone_name))
return True