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_NETRC_FILE(3) curl_easy_setopt options CURLOPT_NETRC_FILE(3)NAME
CURLOPT_NETRC_FILE - file name to read .netrc info from
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NETRC_FILE, char *file);
DESCRIPTION
Pass a char * as parameter, pointing to a zero terminated string containing the full path name to the file you want libcurl to use as
.netrc file. If this option is omitted, and CURLOPT_NETRC(3) is set, libcurl will attempt to find a .netrc file in the current user's home
directory.
The application does not have to keep the string around after setting this option.
DEFAULT
NULL
PROTOCOLS
All
EXAMPLE
TODO
AVAILABILITY
Added in 7.10.9
RETURN VALUE
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space.
SEE ALSO CURLOPT_NETRC(3), CURLOPT_USERNAME(3),
libcurl 7.54.0 December 21, 2016 CURLOPT_NETRC_FILE(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)