Name
easy:SetOpt_DoH_URL -- provide the DNS-over-HTTPS URL (V2.0)
Synopsis
easy:SetOpt_DoH_URL(URL)
Function
Pass a string containing the URL for the DoH server to use for name resolving. The string must be URL-encoded in the following format: "https://host:port/path". It MUST specify an HTTPS URL.

libcurl does not validate the syntax or use this variable until the transfer is issued. Even if you get a crazy value here, it will still return #CURLE_OK.

curl sends POST requests to the given DNS-over-HTTPS URL.

To find the DoH server itself, which might be specified using a name, libcurl will use the default name lookup function. You can bootstrap that by providing the address for the DoH server with #CURLOPT_RESOLVE.

Disable DoH use again by setting this option to Nil.

Inputs
URL
input value

Show TOC