Traffic not going through PiHole

Expected Behaviour:

Im running a Pihole on my Windows 10. Everything was working as expected until maybe a week ago when adblocking stopped working

Actual Behaviour:

No adblocking happens. On the web interface I notice very few queries going through the Pihole (Like 100 queries a day)

Debug Token:

https://tricorder.pi-hole.net/5aG4eApX/

Noted from your debug log (but likely not related to your problem), you are not running our shipped code:

*** [ DIAGNOSING ]: Web version
[✓] Version: v5.17
[i] Remotes: origin	https://github.com/pi-hole/AdminLTE.git (fetch)
             origin	https://github.com/pi-hole/AdminLTE.git (push)
[i] Branch: master
[i] Commit: v5.17-0-gda2764e-dirty
[i] Status:  M settings.php
[i] Diff: diff --git a/settings.php b/settings.php
          index 7ff980f..3da6cf4 100644
          --- a/settings.php
          +++ b/settings.php
          @@ -213,7 +213,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array('sysadmin', 'dns', 'piho
                               <a href="#dns" aria-controls="dns" aria-expanded="<?php echo $tab === 'dns' ? 'true' : 'false'; ?>" role="tab" data-toggle="tab">DNS</a>
                           </li>
                           <li role="presentation"<?php if ($tab === 'piholedhcp') { ?> class="active"<?php } ?>>
          -                    <a href="#piholedhcp" aria-controls="piholedhcp" aria-expanded="<?php echo $tab === 'piholedhcp' ? 'true' : 'false'; ?>" role="tab" data-toggle="tab">DHCP</a>
          +                    <!--a href="#piholedhcp" aria-controls="piholedhcp" aria-expanded="<?php echo $tab === 'piholedhcp' ? 'true' : 'false'; ?>" role="tab" data-toggle="tab">DHCP</a-->
                           </li>
                           <li role="presentation"<?php if ($tab === 'api') { ?> class="active"<?php } ?>>
                               <a href="#api" aria-controls="api" aria-expanded="<?php echo $tab === 'api' ? 'true' : 'false'; ?>" role="tab" data-toggle="tab">API / Web interface</a>

Are you running Pi-hole in a VM on the Windows machine, or using WSL?

Your debug log shows some problems with connectivity on the host platform for Pi-hole:

** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   Error: Could not bind socket to interface lo (Protocol not available)
          ---> Check your privileges (run with sudo)!
   
   Error: Could not bind socket to interface eth1 (Protocol not available)
          ---> Check your privileges (run with sudo)!
   
   Error: Could not bind socket to interface wifi0 (Protocol not available)
          ---> Check your privileges (run with sudo)!
   
   Error: Could not bind socket to interface eth2 (Protocol not available)
          ---> Check your privileges (run with sudo)!
   
   Error: Could not bind socket to interface eth0 (Protocol not available)
          ---> Check your privileges (run with sudo)!
   
   Error: Could not bind socket to interface wifi1 (Protocol not available)
          ---> Check your privileges (run with sudo)!
   
   Error: Could not bind socket to interface wifi2 (Protocol not available)
          ---> Check your privileges (run with sudo)!
 -----tail of FTL.log------
   [2023-08-13 10:55:03.383 126/T148] ADLIST WARNING: Adlist with ID 1 (https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) was inaccessible during last gravity run
   [2023-08-13 10:55:03.426 126/T148] ADLIST WARNING: Adlist with ID 2 (https://dbl.oisd.nl) was inaccessible during last gravity run
   [2023-08-13 10:55:03.469 126/T148] ADLIST WARNING: Adlist with ID 12 (https://adaway.org/hosts.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:03.517 126/T148] ADLIST WARNING: Adlist with ID 13 (https://v.firebog.net/hosts/AdguardDNS.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:03.564 126/T148] ADLIST WARNING: Adlist with ID 14 (https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Alternate%20versions%20Anti-Malware%20List/AntiMalwareHosts.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:03.609 126/T148] ADLIST WARNING: Adlist with ID 15 (https://v.firebog.net/hosts/Easyprivacy.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:03.653 126/T148] ADLIST WARNING: Adlist with ID 16 (https://v.firebog.net/hosts/Prigent-Ads.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:03.698 126/T148] ADLIST WARNING: Adlist with ID 17 (https://v.firebog.net/hosts/Admiral.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:03.741 126/T148] ADLIST WARNING: Adlist with ID 18 (https://osint.digitalside.it/Threat-Intel/lists/latestdomains.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:03.784 126/T148] ADLIST WARNING: Adlist with ID 19 (https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:03.830 126/T148] ADLIST WARNING: Adlist with ID 20 (https://v.firebog.net/hosts/RPiList-Phishing.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:03.874 126/T148] ADLIST WARNING: Adlist with ID 21 (https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:03.915 126/T148] ADLIST WARNING: Adlist with ID 22 (https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) was inaccessible during last gravity run
   [2023-08-13 10:55:03.957 126/T148] ADLIST WARNING: Adlist with ID 24 (https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:03.998 126/T148] ADLIST WARNING: Adlist with ID 25 (https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:04.045 126/T148] ADLIST WARNING: Adlist with ID 26 (https://v.firebog.net/hosts/Easylist.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:04.093 126/T148] ADLIST WARNING: Adlist with ID 27 (https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext) was inaccessible during last gravity run
   [2023-08-13 10:55:04.131 126/T148] ADLIST WARNING: Adlist with ID 28 (https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) was inaccessible during last gravity run
   [2023-08-13 10:55:04.163 126/T148] ADLIST WARNING: Adlist with ID 29 (https://raw.githubusercontent.com/bigdargon/hostsVN/master/hosts) was inaccessible during last gravity run
   [2023-08-13 10:55:04.191 126/T148] ADLIST WARNING: Adlist with ID 30 (https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) was inaccessible during last gravity run
   [2023-08-13 10:55:04.216 126/T148] ADLIST WARNING: Adlist with ID 31 (https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:04.244 126/T148] ADLIST WARNING: Adlist with ID 32 (https://hostfiles.frogeye.fr/firstparty-trackers-hosts.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:04.272 126/T148] ADLIST WARNING: Adlist with ID 33 (https://v.firebog.net/hosts/Prigent-Crypto.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:04.300 126/T148] ADLIST WARNING: Adlist with ID 34 (https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) was inaccessible during last gravity run
   [2023-08-13 10:55:04.325 126/T148] ADLIST WARNING: Adlist with ID 35 (https://bitbucket.org/ethanr/dns-blacklists/raw/8575c9f96e5b4a1308f2f12394abd86d0927a4a0/bad_lists/Mandiant_APT1_Report_Appendix_D.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:04.352 126/T148] ADLIST WARNING: Adlist with ID 36 (https://phishing.army/download/phishing_army_blocklist_extended.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:04.377 126/T148] ADLIST WARNING: Adlist with ID 37 (https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:04.408 126/T148] ADLIST WARNING: Adlist with ID 38 (https://v.firebog.net/hosts/RPiList-Malware.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:04.438 126/T148] ADLIST WARNING: Adlist with ID 39 (https://raw.githubusercontent.com/Spam404/lists/master/main-blacklist.txt) was inaccessible during last gravity run
   [2023-08-13 10:55:04.464 126/T148] ADLIST WARNING: Adlist with ID 40 (https://raw.githubusercontent.com/AssoEchap/stalkerware-indicators/master/generated/hosts) was inaccessible during last gravity run
   [2023-08-13 10:55:04.491 126/T148] ADLIST WARNING: Adlist with ID 41 (https://urlhaus.abuse.ch/downloads/hostfile/) was inaccessible during last gravity run
   [2023-08-13 10:55:04.520 126/T148] Blocking status is enabled
   [2023-08-13 11:01:24.745 126M] Reloading DNS cache
   [2023-08-13 11:01:24.814 126/T148] Compiled 0 whitelist and 0 blacklist regex filters for 0 clients in 1.0 msec
   [2023-08-13 11:01:24.847 126/T148] Blocking status is enabled

Your dnsmasq log shows some queries from network clients, including some queries that were blocked:

 -----tail of pihole.log------
   Aug 13 11:02:56 dnsmasq[126]: query[AAAA] opinionsurprise.com from fe80::d5f5:29c2:2b2e:3f1a
   Aug 13 11:02:56 dnsmasq[126]: gravity blocked opinionsurprise.com is ::
   Aug 13 11:03:00 dnsmasq[126]: query[PTR] a.1.f.3.e.2.b.2.2.c.9.2.5.f.5.d.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa from 127.0.0.1
   Aug 13 11:03:00 dnsmasq[126]: config a.1.f.3.e.2.b.2.2.c.9.2.5.f.5.d.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa is <PTR>
   Aug 13 11:05:44 dnsmasq[126]: query[A] speedcount.de from 127.0.0.1
   Aug 13 11:05:44 dnsmasq[126]: gravity blocked speedcount.de is 0.0.0.0
   Aug 13 11:05:44 dnsmasq[126]: query[A] speedcount.de from 192.168.0.204
   Aug 13 11:05:44 dnsmasq[126]: gravity blocked speedcount.de is 0.0.0.0
   Aug 13 11:05:46 dnsmasq[126]: query[AAAA] slaughtergarageparttime.com from ::1
   Aug 13 11:05:46 dnsmasq[126]: gravity blocked slaughtergarageparttime.com is ::
   Aug 13 11:05:46 dnsmasq[126]: query[AAAA] slaughtergarageparttime.com from fe80::d5f5:29c2:2b2e:3f1a
   Aug 13 11:05:46 dnsmasq[126]: gravity blocked slaughtergarageparttime.com is ::
   Aug 13 11:22:29 dnsmasq[126]: query[A] docmartenspolska.com from 127.0.0.1
   Aug 13 11:22:29 dnsmasq[126]: gravity blocked docmartenspolska.com is 0.0.0.0
   Aug 13 11:22:30 dnsmasq[126]: query[A] docmartenspolska.com from 192.168.0.204
   Aug 13 11:22:30 dnsmasq[126]: gravity blocked docmartenspolska.com is 0.0.0.0
   Aug 13 11:22:32 dnsmasq[126]: query[AAAA] edgevertise.com from ::1
   Aug 13 11:22:32 dnsmasq[126]: gravity blocked edgevertise.com is ::
   Aug 13 11:22:32 dnsmasq[126]: query[AAAA] edgevertise.com from fe80::d5f5:29c2:2b2e:3f1a
   Aug 13 11:22:32 dnsmasq[126]: gravity blocked edgevertise.com is ::

Thanks. I am running it through a VM on windows, apologies for not calling it out.

It was a problem with my router configuration, fixed it and all set here.

Thanks for the response

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.