Firefox Logo

DNS over HTTPS (DoH) helps protect your privacy and security online by encrypting DNS queries. Mozilla will automatically enable DoH for some Firefox users, but only if they live in the U.S.—and it may take a few weeks to roll out. Here’s how all Firefox users can enable it today.

To enable DoH, click the three horizontal bars in the top-right corner of Firefox and then select the “Options” button. (Click “Preferences” if you’re on macOS.)

Firefox Options or Preferences

Locate the “Network Settings” heading and then click the “Settings” button.

Firefox Network Settings

Scroll down to “Enable DNS Over HTTPS” and check or uncheck the corresponding box to turn the setting on or off.

Firefox Connection Settings

When you enable DNS over HTTPS this way, Firefox will use the Cloudflare DNS by default. You can change your DNS by clicking the “Use Provider” drop-down menu and clicking either “NextDNS” to use Mozilla’s chosen alternative, or “Custom” to input your DNS server address of choice manually. However, DNS over HTTPS will only work if your selected DNS server has enabled support for it. You can’t just use any old DNS server.

Even if you don’t enable DoH manually, Firefox will automatically enable it for you over the next few weeks—assuming you’re in the U.S. We expect Mozilla will automatically enable DoH for people in other countries in the future, too.

Joel Cornell Joel Cornell
Joel Cornell is a Staff Writer at How-To Geek. He's spent twelve years writing professionally, working on everything from technical documentation at PBS to video game content for GameSkinny. Joel covers a bit of everything technology-related, including gaming and esports. He's honed his skills by writing for other industries, including in architecture, green energy, and education.
Read Full Bio »