from .pdns_zone import PdnsApiZone
from .pdns_record import compare_rrsets
-__version__ = '0.2.1'
+__version__ = '0.2.2'
LOG = logging.getLogger(__name__)
else:
LOG.debug("Using public nameservers for substituting.")
+ soa = zone.get_soa()
+ if not soa:
+ LOG.error("Could not find SOA for zone {!r}.".format(zone_name))
+ return False
+ if self.verbose > 2:
+ LOG.debug("SOA of zone {!r}:\n{}".format(zone_name, soa))
+
return True
# =============================================================================