cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can't resolve host

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 9 Mar 2015 22:51:17 +0100

On Mon, Mar 09, 2015 at 02:42:10PM -0700, Mathieu Fregeau wrote:
> The LAN settings in Internet Explorer (which is the official configured client at my company) is set at "use automatic configuration script" and points to a .pac file on the Ethernet. The proxy parameters are left blank and are disabled.
>
> I can run Firefox though which I needed to add a few domain names under "network.automatic-ntlm-auth.trusted-Uris" (several domain separated by comas) as well as the same settings under "network.negotiate-auth.delegation-uris" and "network.negotiate-auth.thrusted-uris"
>
> I came to know which domain to add to these Firefox settings after I clicked a non-Ethernet link and Firefox would tell me that such and such domain wasn't on the approved list or something.
>
> Possibly that one of these (or all) is a proxy. Can libcurl accepts a list of proxy so I can try mimicking Firefox perhaps? I guess my main question now is do I need to focus on the proxy settings or could it be another setting instead? Thanks for your inputs.

http://curl.haxx.se/docs/faq.html#Does_curl_support_Javascript_or

You can use an HTTP proxy with libcurl and specify a list of domains to not
proxy. There's a good chance that you could come up with a curl configuration
that works for most cases you have.

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