cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: cant resolve host on visual studio 2013

From: Azat Manukyan <livingfordead_at_gmail.com>
Date: Tue, 3 Mar 2015 20:06:48 +0400

in both cases I haven't configured libcurl to any resolver.I supposed that
didn't need to configure any resolver.firewall is turned of on windows.
DNS resolver is working on windows environment because i can ping to given
host, and system log viewer does not give any issues.
So that is all that i can tall at this moment, if you need some other
information I will provide to You. I really need to work with this lib in
windows environment.

On 3 March 2015 at 02:00, Dan Fandrich <dan_at_coneharvesters.com> wrote:

> On Tue, Mar 03, 2015 at 01:47:31AM +0400, Azat Manukyan wrote:
> > how it can be that in windows visual studio 2013 curl_easy_perform
> returns
> > cannot_resolve host but same code in same pc works fine in ubuntu virtual
> > machine ? I'm using 7.41 version of libcurl.
>
> Simple—the DNS configuration on the two environments are different. Have
> you
> configured libcurl to use the same resolver in both environments? If so,
> then
> take a look at the differences in DNS configuration. Are both environments
> being configured with DHCP, and if so, do they get the same DNS
> configuration?
> Is there a firewall set up on one? Does DNS resolving work with other
> software
> on the problematic host? Systematically look for differences until you
> find
> the one that's causing an issue.
>
> >>> Dan
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-03