curl-library
Re: FTP operation timeout when public DNS Server is used
Date: Tue, 3 May 2016 14:18:04 +0200 (CEST)
On Tue, 3 May 2016, Ison wrote:
> echo nameserver 8.8.8.8 > /etc/resolv.conf
>
> The file is getting updated and the operation exits with error "Timeout was
> reached".
Sorry, but is that the error message from curl when it fails?
> I am able to "ping www.google.com" and "ping my_ftp_server" with 8.8.8.8 as
> the only entry in the resolv.conf file, but the curl operation fails.
Which libcurl version? On Linux? What name resolver backend does your libcurl
use? 'curl -V' shows.
Can you please be more specific about the exact error message and return code
you get from libcurl?
As Dan Fandrich already asked you on curl-users: Can you use the Google DNS
server manually? e.g. does "host www.google.com 8.8.8.8" or "dig
www.google.com @8.8.8.8" return anything?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-05-03