cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: dns resolver issues

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 26 Nov 2011 14:44:21 +0100 (CET)

On Sat, 26 Nov 2011, Peter Vereshagin wrote:

> Am having the same trouble as:
> http://curl.haxx.se/mail/lib-2011-02/0048.html

If you have the same problem, why don't you apply the same fix?

I really don't think your problem is the same...

> $ curl --verbose http://www.ru
> * Could not resolve host: www.ru (Could not contact DNS servers)
> * Couldn't resolve host 'www.ru'
> * Closing connection #0
> curl: (6) Could not resolve host: www.ru (Could not contact DNS servers)
>
> with the difference that 'curl' begins to work if I uncomment 8.8.8.8:
>
> $ cat /etc/resolv.conf
> nameserver 127.0.0.1
> # nameserver 8.8.8.8

What curl version on what platform is this? And what resolver backend does it
use? (A curl -V output would tell)

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-26