def dns_get_zonefile(zone): from dns_update import get_dns_zonefile return Response(get_dns_zonefile(zone, env), status=200, mimetype='text/plain')
def dns_get_zonefile(zone): from dns_update import get_dns_zonefile return json_response(get_dns_zonefile(zone, env))