The idea came to me because often, the default DNS servers provided by our ISPs are unreliable, can block access to certain sites, and are not optimized for speed. That's why I suggest using two DNS servers simultaneously, along with their descriptions and instructions on how to set them up.
If you want to explore further, you can check out my other complementary project, which focuses on Firefox Privacy Extensions.
Firstly, Quad9 (official site) is recommended to be used as the root DNS resolver in Firefox due to its speed (ranked 7th according to DNSPerf), reliability, anonymity, free-of-charge nature, open-source, and its base in Switzerland.
Secondly, UHB (GitHub) is to be integrated at the root of your Windows system. It functions similarly to modifying the HOSTS file to block certain sites. Its database is updated daily with new sites, thanks to a large number of lists compiled by domain experts.
- Open Firefox.
- Type in the address bar "about:preferences#privacy".
- Scroll down to "Enable DNS over HTTPS using", check "Increased Protection".
- In "Choose provider", select "Custom" and enter the following URL in the text field: "https://dns.quad9.net/dns-query".
- Restart Firefox.
If you find yourself connected to the internet, have access to your internet router, but are unable to browse the web using your browser, it could be due to DNS issues. To ensure this, press "WINDOWS + R" to open the "Run" dialog window and type in "msdt.exe /id NetworkDiagnosticsNetworkAdapter" in the field. Run the diagnostic test. If at the end of the test it indicates a DNS problem, try the reverse process starting by disabling IPv6. If it still doesn't work, try disabling IPv4, and typically, that should resolve the issue.
- Press the "WINDOWS + R" keys simultaneously to open the "Run" dialog.
- Type "ncpa.cpl" in the text field and press Enter.
- Right-click on your active network connection and select "Properties".
- Double-click on "Internet Protocol Version 4 (IPv4)".
- Check "Use the following DNS server addresses".
- Enter "Preferred DNS server" as: 88.198.70.38.
- Enter "Alternate DNS server" as: 88.198.70.39.
- Click "OK".
- Double-click on "Internet Protocol Version 6 (IPv6)".
- Check "Use the following DNS server addresses".
- Enter "Preferred DNS server" as: 2a01:4f8:140:5021::38.
- Enter "Alternate DNS server" as: 2a01:4f8:140:5021::39.
- Click "OK".
- Restart your computer.