I had to do this because I have publicly routable domains in my homelab.
You can configure exceptions so that Firefox uses your OS resolver instead of DOH:
about:configin the address bar and press Enter.
1a. A warning page may appear. Click
Accept the Risk and Continueto continue to the about:config page.
- Search for
- Click the Edit button next to the preference.
- Add domains, separated by commas, to the list and click on the checkmark to save the change.
Note: Do not remove any domains from the list.