Whitelist Devices from Pi-Hole

The issue I am facing:
I love pi-hole, however my wife complains it blocks sites and doesn’t load properly for her. Is there a way to whitelist her device from Pi-hole? Many thanks!

Details about my system:
Running Pi-hole 5.13 on Raspberry Pi

What I have changed since installing Pi-hole:
Nothing

See our Group Management docs, specifically Example 1: Exclude from blocking.

Note that client-based filtering is only possible if your router distributes Pi-hole as local DNS server (as opposed to your router distributing its own IP as local DNS and only using Pi-hole as its upstream).

I created group 1, assigned several devices to group 1, and removed the association with the "default" group. However, ads are still being blocked. Anything I can do to validate?

In the screenshots, I added my MacBook ethernet and wifi device to group 1 for testing.

Since I cannot upload the screenshots, below links to the screenshots taken.

Thanks,
Henry

Double check that you have indeed removed the device from the Default group. You have to set the ticks correctly and then click Apply to make the changes. If you just click away, thinking the ticks were enough, the changes are not saved.

Hi Chris, Thanks for your response. I double checked a few times, and the device only has "group 1" assigned.

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

Your debug token is: https://tricorder.pi-hole.net/hEsEXOcs/

here's the latest debug log. I ran a few tests using safari which does not have an ad-blocker ad-on installed, and links to ads are blocked.

Your debug token is: https://tricorder.pi-hole.net/JTUg4otp/

  • You created the Group 1 "Exclude from blocking" (id=1).
  • You have 4 Adlists associated to Default Group (id=0).
  • You also added 4 clients and associated them only to Group 1.

This should be enough to avoid the block... did you try to restart the DNS resolver?

My network composes of an internet line to a router/modem ==> google router ==> switches & wireless access points. Restarted the internet provider router, google router to no avail. Other options I can try?

perhaps this is a bug? I can setup a screen-sharing session if you like to look into this.

Your screenshots are inacessible to me (requiring registration/login).

In this forum, you can paste images directly.

Does your configuration meet the preconditions I've mentioned?




Screenshot 2022-11-13 at 9.50.01 AM

That looks about alright.

What about:

And please upload a fresh debug log (your previous auto-expired after 48 hours).

Your debug token is: https://tricorder.pi-hole.net/9AfQtzkS/

Your debug log shows that your router is distributing its own IP as local DNS server:

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   
   * Received 300 bytes from eth0:192.168.86.1
     Offered IP address: 192.168.86.5
     DHCP options:
      Message type: DHCPOFFER (2)
      router: 192.168.86.1
      dns-server: 192.168.86.1
      --- end of options ---

So all your clients talk to your router for DNS, and your router then forwards DNS requests to Pi-hole.
This means your router's IP is the only client IP that Pi-hole is observing.

As mentioned in my initial reply, client-specific filtering isn't possible in such a configuration.

Have a read of Post-Install - Pi-hole documentation and see if you can configure your router to distribute Pi-hole's instead of its own IP as local DNS server.

i will give this a shot, thank you!

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