I did this
I created an easy handle, set CURLOPT_DOH_URL, CURLOPT_OPENSOCKETFUNCTION, then added the handle to a multi interface.
I expected the following
I expected every curl_socket_t that was passed to my CURLMOPT_SOCKETFUNCTION callback would have been created by me in the CURLOPT_OPENSOCKETFUNCTION callback, but the special easy handles created for DoH were not created with my callback.
curl/libcurl version
7.64