CURLOPT_RESOLVE (3) Linux Manual Page
CURLOPT_RESOLVE – provide custom host name to IP address resolves Synopsis#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RESOLVE, struct curl_slist *hosts);DescriptionPass a pointer to a linked list of strings with host name resolve information to use for requests with this handle. The linked list should be a fully valid list of struct curl_slist structs properly filled in….
