Try UDP queryies first, fall back to TCP