This commit is contained in:
Thomas Waldmann 2014-11-15 22:45:57 +01:00
parent 536a5f5d9d
commit 11f9e8b3bf

View File

@ -272,7 +272,8 @@ def get_ns_info(fqdn):
# retry timeout is over, set it available again # retry timeout is over, set it available again
set_ns_availability(domain, True) set_ns_availability(domain, True)
algorithm = getattr(dns.tsig, d.nameserver_update_algorithm) algorithm = getattr(dns.tsig, d.nameserver_update_algorithm)
return d.nameserver_ip, d.nameserver2_ip, fqdn.domain, domain, fqdn.host, domain, d.nameserver_update_secret, algorithm return (d.nameserver_ip, d.nameserver2_ip, fqdn.domain, domain, fqdn.host, domain,
d.nameserver_update_secret, algorithm)
def update_ns(fqdn, rdtype='A', ipaddr=None, action='upd', ttl=60): def update_ns(fqdn, rdtype='A', ipaddr=None, action='upd', ttl=60):