How to Block Ads on Windows 10 and 11 Using a Custom DNS

If you need to block annoying advertisements in your web browser and Windows apps without installing heavy extensions, this guide will show you the safest and most effective way to do it using built-in Windows network settings. This method works for both beginners and advanced users.

WHY THIS MATTERS

You may need to perform this action when:

  • Websites are cluttered with distracting banners and pop-ups.

  • Your browser feels slow due to loading heavy ad scripts.

  • You want system-wide ad blocking, including inside some desktop apps.

WHAT YOU WILL NEED

  • A computer running Windows 10 or Windows 11

  • Administrator rights (recommended)

  • 1–3 minutes of time

STEP 1 — Open Network Settings

Actions: Press the Windows key + I on your keyboard to open Settings. Click on Network & internet on the left menu, then click on Wi-Fi or Ethernet (depending on how your PC connects to the internet).

Network and internet settings menu in Windows


STEP 2 — Edit DNS Server Assignment

Actions: Scroll down to find Hardware properties. Look for the DNS server assignment option and click the Edit button next to it. Change the setting from Automatic (DHCP) to Manual.

DNS server assignment edit button in Windows network settings


STEP 3 — Enter the Custom DNS

Actions: Turn on the IPv4 switch. In the Preferred DNS box, type exactly 94.140.14.14. In the Alternate DNS box, type exactly 94.140.15.15. Click the Save button.

Entering AdGuard custom IPv4 DNS addresses


ALTERNATIVE METHOD

If the main Windows Settings app doesn't work (especially on older Windows 10 versions), try this:

  1. Open the classic Control Panel.

  2. Go to Network and Sharing Center -> Change adapter settings -> Right-click your connection -> Properties -> Double-click Internet Protocol Version 4 (TCP/IPv4) and enter the DNS numbers there.

COMMON MISTAKES

  • Typing the wrong numbers — Double-check the IP addresses carefully. If you make a typo, your internet connection will stop working entirely.

  • Forgetting to turn on IPv4 — The text boxes for the DNS numbers will not appear until you toggle the IPv4 switch to the "On" position.

PRO TIP

If a specific website ever refuses to load because it detects an ad blocker, you can quickly revert the DNS setting back to "Automatic (DHCP)". This will restore default settings and allow you to bypass the site's block.

RESULT

After completing all steps, you will achieve: A faster, ad-free browsing experience across your entire Windows system without background apps draining your PC's memory.

INTERNAL LINKS

DISCLAIMER

This guide is for educational and informational purposes only. Proceed at your own risk. The author is not responsible for any network connectivity issues or inaccessible websites. Always note down your original settings before making changes.

No comments:

Post a Comment

How to Fix Windows PC Overheating (With One‑Click Script Option)

  Windows laptops and PCs often get hot: the fan becomes loud, the case gets warm, and everything slows down. This guide is written for begi...