Control: tags -1 patch On Tue, 12 Apr 2016 17:11:45 +1200 Jeremy Kuek <quackster+debian@gmail. com> wrote: > Package: libcurl3 > Version: 7.38.0-4+deb8u3 > Severity: wishlist > > Dear Maintainer, > > My system has 2 network interfaces, one of which is connected to the internet, and the other is connected to an internal network. > > My application is using libcurl to send HTTP and HTTPS requests to various servers. > > I wish to be able to use hostnames on both interfaces, and the respective DNS servers to resolve those names. The curl documentation provides the options CURLOPT_DNS_INTERFACE, CURLOPT_DNS_SERVERS for just this purpose. > > However, those options require libcurl to be compiled with the c-ares backend. > > Refer to: > https://curl.haxx.se/libcurl/c/CURLOPT_DNS_INTERFACE.html > https://curl.haxx.se/dev/readme-ares.html > > > Currently I am having to use IP addresses for the internal network. > It seems like the only short term solution to use hostnames for both networks is to use a custom-compiled libcurl. > > In the future, can the official libcurl package be compiled with c- ares support?
Dear maintainer, I have opened a PR on Salsa for this: https://salsa.debian.org/debian/curl/merge_requests/5 -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part