Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

curlopt_dns_local_ip6(3) [mojave man page]

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_FTP_SKIP_PASV_IP(3)				     curl_easy_setopt options				       CURLOPT_FTP_SKIP_PASV_IP(3)

NAME
CURLOPT_FTP_SKIP_PASV_IP - ignore the IP address in the PASV response SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTP_SKIP_PASV_IP, long skip); DESCRIPTION
Pass a long. If skip is set to 1, it instructs libcurl to not use the IP address the server suggests in its 227-response to libcurl's PASV command when libcurl connects the data connection. Instead libcurl will re-use the same IP address it already uses for the control connec- tion. But it will use the port number from the 227-response. This option thus allows libcurl to work around broken server installations that due to NATs, firewalls or incompetence report the wrong IP address back. This option has no effect if PORT, EPRT or EPSV is used instead of PASV. DEFAULT
0 PROTOCOLS
FTP EXAMPLE
TODO AVAILABILITY
Added in 7.14.2 RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_FTPPORT(3), CURLOPT_FTP_USE_EPRT(3), libcurl 7.54.0 February 03, 2016 CURLOPT_FTP_SKIP_PASV_IP(3)
Man Page

5 More Discussions You Might Find Interesting

1. IP Networking

DNS monitoring, how to

I installed bind on my system. I started it, but I can't monitoring it. I don't see bind work or down. How I can see it work. (0 Replies)
Discussion started by: littleghost
0 Replies

2. HP-UX

configuring site-local IPv6 address

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)
Discussion started by: kirtikjr
0 Replies

3. Solaris

Assiging "static" IPv6 address for a jumpstart target.

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)
Discussion started by: hemalsid
1 Replies

4. Shell Programming and Scripting

I need to appears as different ip address when I send a form

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)
Discussion started by: Paul Walker
5 Replies

5. Linux

Domain registrars & DNS servers

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)
Discussion started by: coolatt
5 Replies