def get_bind_data(zone_id, profile):
 conn = _get_driver(profile=profile)
 zone = conn.get_zone(zone_id)
 return conn.export_zone_to_bind_format(zone)

def get_bind_data ( zone_id , profile ) : conn = _get_driver ( profile = profile ) zone = conn . get_zone ( zone_id ) return conn . export_zone_to_bind_format ( zone )
export zone to the bind compatible format .