This commit is contained in:
Thomas Waldmann 2015-12-28 12:50:38 +01:00
parent 4f7627db91
commit eacdd9892e

View File

@ -339,7 +339,7 @@ def update_ns(fqdn, rdtype='A', ipaddr=None, action='upd', ttl=60):
logger.warning("timeout when performing %s for name %s and origin %s with rdtype %s and ipaddr %s" % (
action, name, origin, rdtype, ipaddr))
set_ns_availability(domain, False)
raise
raise DnsUpdateError("Timeout")
except dns.tsig.PeerBadSignature:
logger.error("PeerBadSignature - shared secret mismatch? zone: %s" % (origin, ))
set_ns_availability(domain, False)