Be aware that Firefox in Version 114 (or higher may automatically switch on DoH (DNS over HTTPS).
Go the the options menu and search for “DNS”.

You are able to choose an option, on how to handle DNS.
Hint: If you use Chrome / Chromium, this option may also be already be enabled.