fix #211
This commit is contained in:
parent
4f7627db91
commit
eacdd9892e
@ -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" % (
|
logger.warning("timeout when performing %s for name %s and origin %s with rdtype %s and ipaddr %s" % (
|
||||||
action, name, origin, rdtype, ipaddr))
|
action, name, origin, rdtype, ipaddr))
|
||||||
set_ns_availability(domain, False)
|
set_ns_availability(domain, False)
|
||||||
raise
|
raise DnsUpdateError("Timeout")
|
||||||
except dns.tsig.PeerBadSignature:
|
except dns.tsig.PeerBadSignature:
|
||||||
logger.error("PeerBadSignature - shared secret mismatch? zone: %s" % (origin, ))
|
logger.error("PeerBadSignature - shared secret mismatch? zone: %s" % (origin, ))
|
||||||
set_ns_availability(domain, False)
|
set_ns_availability(domain, False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user