Pi-hole® - A black hole for Internet Advertisements

6 readers
1 users here now

"The Pi-hole® is a DNS sinkhole that protects your devices from unwanted content" Please read the rules before posting, thanks!.

founded 1 year ago
MODERATORS
1
 
 
The original post: /r/pihole by /u/Connect-Ostrich-1286 on 2024-12-27 13:16:00.
2
 
 
The original post: /r/pihole by /u/Big_OOOO on 2024-12-27 01:45:39.

Is it be a good idea to use Crontab to run pihole updateGravity once a day to ensure the lists are updated? I am new to Pihole and I haven't seen this come up as a suggestion, I wonder if there is a reason for that. Thank you.

3
 
 
The original post: /r/pihole by /u/srkrishnaiyer on 2024-12-26 19:46:14.

New to Pi-Hole and still experimenting around. My question is: How to Test Pi-Hole is configured correctly?

I am not asking for websites like https://d3ward.github.io/toolz/adblock to check whether Pi-Hole is working.

for instance, here is my setup:

  • I am running on docker
  • Provided Google DNS as DNS Server and not my DHCP Server IP. I did this to arrest problems around slow internet connection speed.
  • Ads are blocked on my host as well as on the one of the devices (iPhone) connected to the network. But I’m unable to ascertain if ads are blocked on my iPhone due to Pi-Hole or the AdGuard that is also installed.

Is there a way I can check my configuration and network control flow ? Detailed instructions would be helpful. Thanks.

4
 
 
The original post: /r/pihole by /u/Maverik249 on 2024-12-26 11:36:57.

HI, I have Pihole running on Casaos on a zimaboard and it works fine. But for some reason i cant whitelist using the GUI i get a message about the file being read only. I can white list fine using ssh? any ideas?

5
 
 
The original post: /r/pihole by /u/WhyFencePost on 2024-12-26 07:44:51.

This is a very specific thing, but I would like to know if pihole with unbound can do this, and if so how:

  1. Use different blacklists for different devices (not a big one if it cant)
  2. Is there some sort of ssh (or other) command that I can use to near instantly disable/enable blacklists (or add and remove)?
  3. Is there some way to show a custom block page (preferably for only the ones blocked by a specific block list)
6
 
 
The original post: /r/pihole by /u/WhyFencePost on 2024-12-26 07:38:31.

This is a very specific thing, but I would like to know if pihole with unbound can do this, and if so how:

  1. Use different blacklists for different devices (not a big one if it cant)
  2. Is there some sort of ssh (or other) command that I can use to near instantly disable/enable blacklists (or add and remove)?
7
 
 
The original post: /r/pihole by /u/Huecuva on 2024-12-26 01:42:55.

So I'm running Pi-Hole on a Rasberry Pi. I don't remember the exact model. Anyway, it's running Debian 11 Bullseye, or the version of Raspberry Pi OS based on that. lsb_release -a just says it's running Debian 11. I set this thing up so long ago I don't even remember.

Anyway, neither Debian 11 nor Pi-Hole require much storage space. 4 GB should be more than enough space to run this. I currently have my Pi-Hole running off an 8GB mSSD card in my RPi and yet I was still just now having issues running apt updates because the card was so full. I had to flush Pi-Hole logs and then run apt clean in the terminal just to free up about 1.5GB and make room to run updates.

Why is this happening and does anyone know how to mitigate this? This is kind of the only problem I've been having with the majority of my Linux servers. For some reason, when left to their own devices with a cron job to perform automatic updates periodically, the drive eventually fills up and they can't update anymore.

8
 
 
The original post: /r/pihole by /u/Most_Pop3711 on 2024-12-25 18:23:05.

I tried to ssh into my new pi zero and got this error "kex_exchange_identification: read: Connection reset" I have SSH enabled in the imager. Im connected using ethernet and have a static IP set on the rpi. Trying to install Pi-Hole but stuck on even getting into my pi

9
 
 
The original post: /r/pihole by /u/Comprehensive-Ask26 on 2024-12-25 15:30:23.

To all the members of the PiHole community who have helped me so much by sharing their knowledge and expertise, I hope you all have a very Merry Christmas or a joyous beginning of a very Happy Chanukah.

10
 
 
The original post: /r/pihole by /u/srkrishnaiyer on 2024-12-25 09:46:18.

So for the background, everything I selfhost is on the same box running in docker.

Setting up Pi-Hole and Tailscale was straightforward although it took time. Everything seemed to work fine until I had just Pi-Hole and I even tested it on devices joined to Home network.

I wanted to setup Tailscale to make it work outside of Home Wi-Fi and started testing by disconnecting WiFi and using data. At first, I thought Pi-Hole is blocking everything (I had about 1.8M domains blacklisted). But no, I was wrong even after connecting to home network and turning off tunneling, I still see decreased speeds. What am I missing ?

Tried the following with no luck:

  • Enable IPv6 in upstream DNS settings in Pi-Hole Portal and it didn’t help.
  • Increased the memory to make sure that the running containers have sufficient memory. My host itself has 64Gig RAM so I was able to allocate fairly well.
  • Tried to disable rate limiting in Pi-Hole 0/0
11
 
 
The original post: /r/pihole by /u/GizmoeFreak on 2024-12-25 02:00:38.

Hi all, like the title says, I have had issues with my ISP Internet connection dropping, or swinging in and out (seems to be fixed now, was the whole neighborhood). Everytime this happens I have to reboot pihole to make everything work again. It's rather annoying if I'm not home. I am running only pihole (with PADD on a 7" screen) on a raspberry Pi 3, everything is current as far updates go as far as I know. It is DNS only, the Google Mesh system handles the routing. Everything is on a UPS. I next to never have to reboot the Google router it reconnects fine, just the pihole breaks my network. Is there a away around this by chance?

12
 
 
The original post: /r/pihole by /u/FloRyuKo on 2024-12-25 01:57:47.
13
 
 
The original post: /r/pihole by /u/robroy90 on 2024-12-24 19:21:12.

Greetings all! I was curious to know if there were some high quality and curated block lists I could subscribe to that would reduce or eliminate the amount of data that the devices on my LAN are "phoning home" on.

For example, and in the spirit of the Smart TV blocklist: https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/SmartTV.txt

I am looking for similar functionality/lists for things like smart home gadgets, etc. I know it is a fine line, because if you start getting too aggressive with blocking, you can easily start to break things.

I was just curious if anyone was aware of those types of lists? I am fairly happy with my ad-blocking lists, and now I am looking to expand into other, more advanced uses of these fantastic Pi-Hole devices!

Thanks in advance!

14
 
 
The original post: /r/pihole by /u/merlinuwe on 2024-12-24 18:35:56.

I cannot use gemini app with pihole. The problem is the speach recognition, which does not work. Message: "Deine Verbindung wurde unterbrochen - versuche es noch einmal." When I look in the pi-hole logs, there are no entries for my device.

On mobile it works.

What can I do?

Xiaomi Poco X3 Pro Pihole on raspberry pi gemini.google.com whitelisted dns0.eu

15
 
 
The original post: /r/pihole by /u/Aqueouss on 2024-12-24 16:37:13.

I'm previously was running a gaming server for my friends through my pi using caddy for reverse proxy pointing to a duckdns domain. After installing pihole I can't seem to get it to work at all, I'm not sure what I'm missing.

Caddy file:

domain.duckdns.org {
    reverse_proxy localhost:30000
    encode zstd gzip
}

https:// {
    tls internal {
        on_demand
    }

    reverse_proxy localhost:30000
    encode zstd gzip
}

With a dns record set up pointing to the internal IP of my pi

https://preview.redd.it/jc76x3otqt8e1.png?width=967&format=png&auto=webp&s=c83b1fc23d13ad96f47bccb46d1ad01f621136f4

I've done a ton of searching on reddit and google and can't seem to find out what I'm doing wrong, any help is appreciated.

16
 
 
The original post: /r/pihole by /u/OkFaithlessness6715 on 2024-12-24 15:02:34.

Features get updated so often not sure what to do. On asus site it says to use piholes dns as wan, yet that doesn’t do anything compared to it set in lan. Am using new RT-BE86U no settings look the same as advertised on site.

17
 
 
The original post: /r/pihole by /u/ThisIsAdamB on 2024-12-24 14:50:34.

There’s a site I use from time to time and Pi-hole has worked well on it for a long time. The site has added a new video ad and that sneaks through. I’ve examined the pages code but I’m no programmer and can’t figure out the source in order to block it. What’s the best way to find this info?

18
 
 
The original post: /r/pihole by /u/derFensterputzer on 2024-12-24 14:20:36.

Hey everyone.

I've searched the internet for quite a while now and can't find any solution to my patricular problem:

I'm running a Raspberry Pi 5 with Raspberry PI OS.

Downloaded and installed the homeassistant aarch64 image from their GitHub.

The Pi is running the PiHole (just for DNS, DHCP is handled by the router) and inside Virt-Manager HomeAssistant as a VM.

The VM uses a bridged network connection (virbr0).

PI itself is connected via Ethernet, Wireless is not used.

Both devices have seperate and static IP Adresses.

Both devices can successfully be pinged.

In the PiHole web interface on the local DNS Page I added homeassistant.local and mapped it to the IP of the Bridge.

Still, If I try to connect to HomeAssistant Brave gives me this error: "homeassistant.local’s DNS address could not be found. Diagnosing the problem."

Do you have any idea what could be the cause here?

19
 
 
The original post: /r/pihole by /u/vrendla on 2024-12-24 14:16:17.

last month, I have configured my home network to run with pi hole (Adlist with unbound DNS server).

Last week, I have disabled IPV6 at router level to see if any home device functionality breaks . Not noticed any device functionality breaking and just spike in the queries mostly from smart tv , reddit, Citrix and Microsoft.

fyi - Disney hot star (OTT) is working without Ads now ( with blocked http://pagead2.googlesyndication.com/).

Already, blocked the noise queries from windows using host file .

Will continue to run with IPV6 disable and can't help with smart tv queries for now.

screenshots - https://imgur.com/a/dTmyAXk

20
 
 
The original post: /r/pihole by /u/srkrishnaiyer on 2024-12-24 10:12:40.

I just newly setup Pi-Hole and looking for known list of domains that can be blacklisted. Is there a ready made list ? Or should I add it on the go ? :D

I tried to add a few based on this and tried to retest by the score does not improve for unknown reasons : https://d3ward.github.io/toolz/adblock. Any clues?

21
 
 
The original post: /r/pihole by /u/Gears6 on 2024-12-23 22:57:21.

Is this common occurrence or normal?

If it is normal, any suggestion for alternative media that is more robust?

Or, is there a way to reduce or even just write only to RAM (disk)?

I don't care that access log data is wiped between reboots as I just want to block ads and update the ad list from time to time.

22
 
 
The original post: /r/pihole by /u/TrumpDumper on 2024-12-23 22:55:11.

I have successfully setup my pihole on my macbook. Is there a way to make it network-wide through my Eero router?

I have read a few things about a Raspberry Pi (I don't have one or know what it is, TBH). Can you please give me a step-by-step guide on how to do this? Thanks.

23
 
 
The original post: /r/pihole by /u/astronutski on 2024-12-23 22:43:28.

Sorry, I had all this typed in it didn't post once I attached the pics for some reason, apologies.

I have my own pi-hole working on my network, and I'm setting up one here for a friend that I will give to him after it's working. I've done everything, set the Primary DNS to his pi-hole, Secondary to Quad9, but it's not showing any results on the dashboard. It appears to be blocking as I'm not getting ads, but for some reason not logging them? Unless my own pi-hole is stealing the glory in the background (even though it's been removed from DNS). I'm probably missing something simple, but these are usually plug n play for me. Also, I set the pi-hole as the DHCP and removed that from my router. My router is seeing both pi-holes as planned.

Any idea what I'm missing?

https://postimg.cc/gallery/4mF2QBb

[edit: link to pics]

24
 
 
The original post: /r/pihole by /u/ElSrJuez on 2024-12-23 21:48:46.

So... PiHole only supports automatic local DNS records when it is also configured as the DHCP server. It also does not support Dynamic DNS updates from LAN devices.

One Solution?

Discover hostnames from the LAN using mDNS / DNS-SD Avahi Browser https://avahi.org/

Then automatically populate PiHole custom.list from that.

ElSrJuez/avahi-hosts: Automatically Generate hosts records from the LAN's Avahi Browser data

25
 
 
The original post: /r/pihole by /u/Ardbert_The_Fallen on 2024-12-23 21:19:44.

From a handful of research, it looks like this router model proxies all DNS requests, causing the client hostnames to be hidden in all requests. Instead, all requests appear as if coming from the router itself.

I did see some results mentioning needing to make the pihole control all DHCP in my network, but I also saw a post stating that would not work or be advisable. There were a few other results that seemed to be a dead-end for others.

Does anyone have this model or similar that can intelligently speak to this issue, and if it is actually resolvable with this model?

Otherwise, I don't need to know the clients that are requesting on my network. I do have a small network and can probably determine the client for the most part.

view more: next ›