def update_zone(zone_id, domain, profile, type='master', ttl=None):
 conn = _get_driver(profile=profile)
 zone = conn.get_zone(zone_id)
 return conn.update_zone(zone=zone, domain=domain, type=type, ttl=ttl)

def update_zone ( zone_id , domain , profile , type = 'master' , ttl = None ) : conn = _get_driver ( profile = profile ) zone = conn . get_zone ( zone_id ) return conn . update_zone ( zone = zone , domain = domain , type = type , ttl = ttl )
update an existing zone .