Connecti to Imap server with "DNS over https"

My app can connect with Oauth to Gmail with the Chilkat plugin which works fine. One user is using “DNS over https” from Cloudflare and has connection problems:

[quote] connectSocket:
connect_ipv6_or_ipv4:
getAddressInfo:
Failed to get host address info. (4)
gai_error: 8
hostOrIpAddr: imap.gmail.com
port: 993
–getAddressInfo
getAddressInfo failed.
–connect_ipv6_or_ipv4
–connectSocket
–connectImplicitSsl
ConnectFailReason: DNS lookup failed
–connect2
–socket2Connect
failReason: 0
–connectToImapServer
connect failed.[/quote]

Their documentation at https://developers.cloudflare.com/1.1.1.1/dns-over-https/cloudflared-proxy/ doesn’t make it really clear what I need to do to make my app support “DNS over https”. A proxy? Does anyone have any experience with something like this?

I wrote a class to CloudFlare’s DNS system. https://bitbucket.org/nocturnalcodingmonkeys/xocfdns. the links on my website are broken (the point to the wrong pages - big mistake on my part). but the bitbucket pages are correct.

if I wasnt leaving to go to the Xojo UG meeting right now, I would fix the broken links.

if you have any questions about the classes, let me know. either email me or PM me here.

thanks
–sb