Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

curlopt_dns_interface(3) [mojave 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)

Check Out this Related Man Page

CURLOPT_RTSP_SESSION_ID(3)				     curl_easy_setopt options					CURLOPT_RTSP_SESSION_ID(3)

NAME
CURLOPT_RTSP_SESSION_ID - set RTSP session ID SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RTSP_SESSION_ID, char *id); DESCRIPTION
Pass a char * as a parameter to set the value of the current RTSP Session ID for the handle. Useful for resuming an in-progress session. Once this value is set to any non-NULL value, libcurl will return CURLE_RTSP_SESSION_ERROR if ID received from the server does not match. If unset (or set to NULL), libcurl will automatically set the ID the first time the server sets it in a response. The application does not have to keep the string around after setting this option. DEFAULT
NULL PROTOCOLS
RTSP EXAMPLE
TODO AVAILABILITY
Added in 7.20.0 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_RTSP_REQUEST(3), CURLOPT_RTSP_STREAM_URI(3), libcurl 7.54.0 December 21, 2016 CURLOPT_RTSP_SESSION_ID(3)
Man Page

3 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. IP Networking

Multihomed DNS Clients?

I'm not sure it that's the right term for what I'm asking about, but it's the best I could come up with. Here is my situation... I'm setting up a network using OpenVPN. The clients I'm setting up will need to be able to access their own DNS servers (to resolve internal names at their location)... (4 Replies)
Discussion started by: deckard
4 Replies

3. IP Networking

DNS and two subnets

Hi guys I started to work in a small company which doesn't have infrastructure and I need to built it. My problem is: I am a student with theoretical knowledge but without practical one so I don't have any ideas how to solve my problem. I installed on CentOS 6.4 DNS and DHCP. This... (1 Reply)
Discussion started by: solaris_user
1 Replies