cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Make DNS requests follow the CURLOPT_INTERFACE if c-ares is in use

From: Kim Vandry <vandry_at_TZoNE.ORG>
Date: Sun, 07 Apr 2013 22:30:48 -0400

On 2013-04-07 22:02 , Ben Greear wrote:
> Please do not force c-ares to use the same interface as curl....normally
> it should
> be the same, but not in all cases, so you can just give users more options
> to explicitly bind c-ares.

Hi Ben,

A separate option to set the interface for c-ares is fine with me.
You've also exposed c-ares' ability to set the local address to bind to,
which I didn't do in my version.

It's yet one more option option that you have to remember to set though,
so in this case I think it would be a good idea if the c-ares interface
would default to the same as the curl interface. That way, in the
typical case where you want them to be the same, you only have to set
one option.

-kv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-08