CURLOPT_DNS_LOCAL_IP6(3) curl_easy_setopt options CURLOPT_DNS_LOCAL_IP6(3)NAME
CURLOPT_DNS_LOCAL_IP6 - IPv6 address to bind DNS resolves to
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DNS_LOCAL_IP6, char *address);
DESCRIPTION
Set the local IPv6 address that the resolver should bind to. The argument should be of type char * and contain a single IPv6 address as a
string. Set this option to NULL to use the default setting (don't bind to a specific IP address).
The application does not have to keep the string around after setting this option.
DEFAULT
NULL
PROTOCOLS
All
EXAMPLE
TODO
AVAILABILITY
This option requires that libcurl was built with a resolver backend that supports this operation. The c-ares backend is the only such one.
Added in 7.33.0
RETURN VALUE
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, CURLE_NOT_BUILT_IN if support was disabled at compile-time, or
CURLE_BAD_FUNCTION_ARGUMENT when given a bad address.
SEE ALSO CURLOPT_DNS_INTERFACE(3), CURLOPT_DNS_LOCAL_IP4(3),
libcurl 7.54.0 December 21, 2016 CURLOPT_DNS_LOCAL_IP6(3)
Check Out this Related Man Page
CURLOPT_DNS_INTERFACE(3) curl_easy_setopt options CURLOPT_DNS_INTERFACE(3)NAME
CURLOPT_DNS_INTERFACE - set interface to speak DNS over
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DNS_INTERFACE, char *ifname);
DESCRIPTION
Pass a char * as parameter. Set the name of the network interface that the DNS resolver should bind to. This must be an interface name (not
an address). Set this option to NULL to use the default setting (don't bind to a specific interface).
The application does not have to keep the string around after setting this option.
DEFAULT
NULL
PROTOCOLS EXAMPLE
TODO
AVAILABILITY
Added in 7.33.0. This option also requires that libcurl was built with a resolver backend that supports this operation. The c-ares backend
is the only such one.
RETURN VALUE
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_NOT_BUILT_IN if support was disabled at compile-time.
SEE ALSO CURLOPT_DNS_SERVERS(3), CURLOPT_DNS_LOCAL_IP4(3),
libcurl 7.54.0 December 21, 2016 CURLOPT_DNS_INTERFACE(3)
How do I configure site-local IPv6 address in HP-UX box?
I can get link local IPv6 address automatically when I put IPv6 up.
aps39-88-root# ifconfig lan0 inet6 up (0 Replies)
I provision Solaris10 using jumpstart. I know we can enable IPv6 by setting protocol_ipv6=yes in the sysidcfg file. Is there a way to assign Static IPv6 address using sysidcfg/jumpstart method (1 Reply)
Hi my problem is that I need to send a form to a web address using curl, from a unix shell, the web address on the receiving end will only accept incoming data from a specific ip address, and port, on another machine on our intranet, and I can not run curl on that machine. Is there any way I... (5 Replies)
I have read many tutorials on bind and i understand the A,MX, CNAME records.
Internally, on a LAN we can install bind and create all these records and we can tell all PC and servers to use this bind as DNS server.that's fine.
On the Internet, when we have purchased a valid domain like... (5 Replies)