cURL slow on DNS, fast on IP address