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?


-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie
Architecture: armv6l

Kernel: Linux 4.4.6+
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libcurl3 depends on:
ii  libc6              2.19-18+deb8u4
ii  libcomerr2         1.42.12-1.1
ii  libgssapi-krb5-2   1.12.1+dfsg-19+deb8u2
ii  libidn11           1.29-1
ii  libk5crypto3       1.12.1+dfsg-19+deb8u2
ii  libkrb5-3          1.12.1+dfsg-19+deb8u2
ii  libldap-2.4-2      2.4.40+dfsg-1
ii  librtmp1           2.4+20150115.gita107cef-1
ii  libssh2-1          1.4.3-4.1+deb8u1
ii  libssl1.0.0        1.0.1k-3+deb8u4
ii  multiarch-support  2.19-18+deb8u4
ii  zlib1g             1:1.2.8.dfsg-2

Versions of packages libcurl3 recommends:
ii  ca-certificates  20141019+deb8u1

libcurl3 suggests no packages.

-- no debconf information

Reply via email to