Pihole Setup Complete, Not Blocking Ads?

Please follow the below template, it will help us to help you!

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.

Expected Behaviour:

[Pihole to block advertisements on webpages like msn, YouTube, Huffington post, etc. on all devices connecter to router. Pihole will also generate queries based on advertisements blocked no matter the device and display this on the admin webpage.]

Actual Behaviour:

[I can access pihole webpage from every device but it seems to block ads only on the raspberry pi itself. Even then, the raspberry pi doesn't seem generate queries on the pihole admin page.]

Debug Token:

[https://tricorder.pi-hole.net/bogPzmHu/]

Note: Noticed that if I generate a debug report or try to repair the software via "pihole -r", I DO get generated queries. Those seem to be the only time queries are generated however.

My typical disclaimer: I am not a dev nor super experienced user. Just trying to help.

1). Try manually setting DNS on one device and confirm if the queries show up

2). If they do not, then ensure you don’t have some hardcoded/DoH/DoT or as apple calls it Private Relay

3). Try repairing the Pi-hole install with pihole -r

4). If all else fails, reimage and reinstall pihole

Something else to look into in regards to step 2 is using IPtable rules to redirect all dns requests to Pi-hole, block DoT and block known DoH servers

You configured Pi-hole to listen on ethernet but it seems there is no ethernet connection, but instead a wifi one

*** [ DIAGNOSING ]: Networking
[βœ—] No IPv4 address(es) found on the eth0 interface.

[βœ—] No IPv6 address(es) found on the eth0 interface.


*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   * Received 300 bytes from wlan0:192.168.12.1
     Offered IP address: 192.168.12.123
     Server IP address: 192.168.12.1
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 192.168.12.1
      lease-time: 86400 ( 1d )
      renewal-time: 43200 ( 12h )
      rebinding-time: 75600 ( 21h )
      netmask: 255.255.255.0
      broadcast: 192.168.12.255
      router: 192.168.12.1
      dns-server: 192.168.12.1
      domain-name: "lan"
      --- end of options ---
    
   DHCP packets received on interface lo: 0
   DHCP packets received on interface eth0: 0
   DHCP packets received on interface wlan0: 1

    PIHOLE_INTERFACE=eth0

Run pihole -r and choose the right interface.

1 Like

Solved! Switched the configuration to wifi and it worked perfectly. Thank you so much!

Actually not solved... I swear it was working and blocking ads for a bit but now it's not. I keep looking at the debug and it still says the pihole is using Ethernet. Not quite sure why this is the case or how to change it (permanently to wifi instead...). Any help would be greatly appreciated.

Thanks!

Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

pihole -d

or do it through the Web interface:

Tools > Generate Debug Log

https://tricorder.pi-hole.net/RBegxUxv/

You have no active IP on the eth0 interface.

*** [ DIAGNOSING ]: Networking
[βœ—] No IPv4 address(es) found on the eth0 interface.
[βœ—] No IPv6 address(es) found on the eth0 interface.

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[βœ“] ipv6.adrta.com is 0.0.0.0 on lo (127.0.0.1)
[βœ“] No IPv4 address available on eth0
[βœ—] Failed to resolve ipv6.adrta.com on wlan0 (192.168.12.75)
[βœ“] doubleclick.com is 142.251.40.142 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Setup variables
   ...
    PIHOLE_INTERFACE=eth0
    IPV4_ADDRESS=192.168.12.75/24

Yes, I'm trying to use wlan0/wireless. Don't want to use Ethernet unless absolutely necessary.

Run pihole -r and select the reconfigure option to get Pi-hole on the wlan0 interface. During the dialogues, you will be prompted for the interface.

Just realized I had to hit space in order to toggle between wlan0 and eth0. I have wlan0 selected now but I'm still not getting pihole to work. New debug token: https://tricorder.pi-hole.net/Y2fH6szl/

I am trying different browsers on my computer but the problem still exists. I do have my router set to use the pihole DNS.

Not sure what's wrong ;/

[βœ“] IPv4 address(es) bound to the wlan0 interface:
    192.168.12.75/24

   * Received 300 bytes from wlan0:192.168.12.1
     Offered IP address: 192.168.12.123
     Server IP address: 192.168.12.1
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 192.168.12.1
      lease-time: 86400 ( 1d )
      renewal-time: 43200 ( 12h )
      rebinding-time: 75600 ( 21h )
      netmask: 255.255.255.0
      broadcast: 192.168.12.255
      router: 192.168.12.1
      dns-server: 192.168.12.1
      domain-name: "lan"
      --- end of options ---
    

Your router still advertises its own IP as DNS server via DHCP. Try setting Pi-hole as DNS server via DHCP. Afterwards dis/reconnect your clients once from the network to pickup the new information.

A post was split to a new topic: Clients don't use Pi-hole

Not sure if it's needed still but here's my debug token: https://tricorder.pi-hole.net/V7r3mwF6/

How would one set Pi-hole as DNS server via DHCP? Searching for how to do this... but I can't find the info I need.

You need to consult your router's manual. It depends on the brand and type you use. Look for the DHCP section.

Just out of curiosity has your issue been resolved ?
Also have you set your privacy level to high ? that could be a reason why you are not seeing Logs.

Also you can find lists of ad domains online which can be added to gravity to help block more ads across websites

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