curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Disable DNS over HTTPS (DoH) on command line

From: dumblob via curl-users <>
Date: Sun, 17 Nov 2019 17:18:13 +0100


is there any way to enforce DoH not being used under no circumstances
by the command line tool "curl"? I could not find any way to achieve
the desired effect (not even tricks with LD_PRELOAD etc.).

Primary motivation could be different concerns (e.g. centralization
and others outlined in

If there is no way to achieve this, I'll fill a feature request ("bug
report") on .

Note, this thread is not about discussing whether or not DoH is good
or not, but just plain yeas/no debate how to completely disable DoH on
command line).


Received on 2019-11-17