PC not blocking ads despite correct DNS configuration


  1. Posts : 75
    19045.2965
       #1

    PC not blocking ads despite correct DNS configuration


    winver: 22H2 19045.2965

    I am seeking assistance regarding a peculiar issue I've been facing with my PC's ad-blocking setup. I have set up a Pi-hole server and have correctly configured my PC's DNS settings to point to the assigned DNS of the Pi-hole server. However, despite these settings, my PC still fails to block ads.

    Here are the troubleshooting steps I have already tried:

    • Verified DNS Configuration: I have double-checked and confirmed that my PC's DNS settings are correctly pointing to the Pi-hole server's DNS IP address.
    • Tested on Other Devices: To ensure it's not an issue with the Pi-hole server itself, I have tested ad-blocking functionality on other devices connected to the same network, such as another PC, both wired and wireless, and various cell phones. Ad-blocking works perfectly fine on these devices, confirming that the Pi-hole server is functioning as intended.
    • Previous Configuration with Docker: It's worth noting that I initially had Pi-hole installed on my PC using Docker, and it worked flawlessly in that setup. However, I later switched to using a separate device (Orange 3 LTS) dedicated to running the Pi-hole server. This is when the issue with my PC not blocking ads started occurring.


    Considering the steps I've taken and the fact that ad-blocking functions properly on other devices, it appears to be an isolated problem with my PC. I'm puzzled as to why the DNS configuration is not taking effect on my PC specifically.

    PC not blocking ads despite correct DNS configuration-dnsheadache.png
      My Computer


  2. Posts : 9,790
    Mac OS Catalina
       #2
      My Computer


  3. Posts : 1,211
    Windows 10
       #3

    Because you are still using Comcast's DNS servers you want to remove all these which may be in your router still and you also have static ip set so you want to remove them on the PC too. You can even see in a few areas on that image it has them listed still. The network pane on the right of the image has nothing but Comcast DNS.

    Just remove them locally and on the router.

    - - - Updated - - -

    Unless you need to have the devices static If you can just set DHCP so that your router can organize the devices properly you should then be able to lock devices in the Rotuer if you still require them to hold the same ip over time.
      My Computer


  4. Posts : 75
    19045.2965
    Thread Starter
       #4

    Malneb said:
    Because you are still using Comcast's DNS servers you want to remove all these which may be in your router still and you also have static ip set so you want to remove them on the PC too. You can even see in a few areas on that image it has them listed still. The network pane on the right of the image has nothing but Comcast DNS.

    Just remove them locally and on the router.

    - - - Updated - - -

    Unless you need to have the devices static If you can just set DHCP so that your router can organize the devices properly you should then be able to lock devices in the Rotuer if you still require them to hold the same ip over time.
    on my router, the only DNS it is set to use it the pihole's.
    PC not blocking ads despite correct DNS configuration-546.png

    where local do i need to navigate to, so I can find and remove the comcast DNS's
      My Computer


  5. Posts : 1,211
    Windows 10
       #5

    You will have to disable Ipv6 support on your router.

    - - - Updated - - -

    Sorry i mean on your computers adapter or just set the preferred DNS locally and see if that stops it.

    - - - Updated - - -

    your router should have a sepearte area for ipv6 look in there and see what the DNS is and if it can be manually set then just try with it set as blank or you will have to set this up on the pi or the router one of the two depending on what your network is doing.
      My Computer


  6. Posts : 75
    19045.2965
    Thread Starter
       #6

    Malneb said:
    You will have to disable Ipv6 support on your router.

    - - - Updated - - -

    Sorry i mean on your computers adapter or just set the preferred DNS locally and see if that stops it.
    There it is, thank you very much! nslookup shows the default server as pi hole:

    Code:
    C:\Users\NERV>nslookup
    Default Server:  pi.hole
    Address:  192.168.0.200
    
    > ping 192.168.0.200
    Server:  [192.168.0.200]
    Address:  192.168.0.200
    
    *** 192.168.0.200 can't find ping: Non-existent domain
    >
    cant ping, but I can now browse ad free without an adblocker, and i can see my pc sending queries on the pihole interface.

    also docker did make some changes, which have been reverted to the original.
    PC not blocking ads despite correct DNS configuration-333.png
      My Computer


  7. Posts : 9,790
    Mac OS Catalina
       #7

    Guessing that you did not read through this. Docker DHCP and Network Modes - Pi-hole documentation
    Last edited by bro67; 31 May 2023 at 01:26.
      My Computer


  8. Posts : 295
    Windows 10 Pro
       #8

    Unfortunately, your browser is unsupported. Please switch to a supported browser to view rich content, log in and reply.


    Unfortunately, you allowed Google to RAPE your code and website...

    God, I hate having to use more than one browser.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:14.
Find Us




Windows 10 Forums