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
101
 
 
The original post: /r/pihole by /u/harrows2012 on 2024-11-01 22:44:49.

Expected Behaviour:

I expect that Pi-hole should handle the active user requests without crashing, and I should be able to view the user graph for the last 24 hours without any issues.

Actual Behaviour:

After installing Pi-hole, I experience a rapid increase in active users, reaching 10-15 thousand within 15-20 minutes. This leads to the admin panel freezing and Pi-hole disconnecting after some time.

Debug Token:

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

102
 
 
The original post: /r/pihole by /u/yellowroll on 2024-11-01 20:37:28.

Can someone share their domain block list? I tried loads but the ads still get through

103
 
 
The original post: /r/pihole by /u/runfayfun on 2024-11-01 16:59:23.

I have an old i5-6500T SFF PC with 16GB RAM I wanted to deadhead for pi-hole and unbound (and possibly plex for 1-2 clients at a time at the most). It already has windows 10, which I am more familiar with than linux.

Would there be any obvious issue with running a docker for pi-hole and one for unbound on windows?

104
105
 
 
The original post: /r/pihole by /u/lontrachen on 2024-11-01 13:00:41.

Just had my first time WFH in my new job today. The moment I connected my work laptop to my wifi, my raspberry pi got blocked so I had no internet connection to any devices, only to my work laptop. Is there a way to fix it? Will connecting the Work laptop in a guest network prevent this from happening?

By trying to connect to the Pi via SSH I get the error message port 22: connection refused. I could not manage to fix it. Everything was working fine until I connected the laptop...

106
 
 
The original post: /r/pihole by /u/mariolein0 on 2024-11-01 12:17:20.

Hey guys,

I've set up a Raspberry Pi 5 running Docker with Portainer and Pi-hole. Pi-hole is configured to use a macvlan network, while Portainer is using the default bridge mode. After configuring my internet router to use the Pi-hole IP address as the DNS server, everything seemed to work fine.

However, since making this change, I can no longer pull Docker images or resolve domain names from within Docker containers (via SSH into the Docker environment). Pinging an IP address like 8.8.8.8 works, but DNS name resolution fails.

Does anyone know how to fix this? All other devices on my network are working correctly, but Docker/Portainer no longer have DNS functionality.

107
 
 
The original post: /r/pihole by /u/cyber5234 on 2024-11-01 11:30:32.

I am running pihole via docker compose on my raspberry pi running rocky Linux.the raspberry pi is receiving queries but it is not blocking any of them. I have set both ip addresses as raspberry pi address. Am I missing something?

108
 
 
The original post: /r/pihole by /u/Dzhmelyk135 on 2024-11-01 08:07:29.

https://preview.redd.it/a015i4ihz8yd1.png?width=1246&format=png&auto=webp&s=2af59dc209a11001ef2194e96d21200d10ff686a

I updated my NAS to Truenas ElectricEel and got this error on pihole. How do i fix it?

109
 
 
The original post: /r/pihole by /u/ol-gormsby on 2024-11-01 01:05:32.

Just in case somebody has already done the work, are there any blocklists for "openart"

Getting tired of search results polluted by grotesque attempts at "AI"

The only thing I could find was the Meta (Facebook) symbol attached to some of them, but I've already got FB blocked. There are rare occasions where I'll temporarily whitelist FB, but otherwise it's blocked.

If there's no existing lists, I'll start examining the logs and tracing DNS calls.

110
 
 
The original post: /r/pihole by /u/whistlingturtle on 2024-10-31 18:05:35.

Sorry for this newbie question but I’m still confused even after reading many articles on pi-hole.net (both “docs.” and “discourse.”) as well as Reddit posts.

I don’t have a Raspberry Pi, so I installed Pi-hole on my main system (Linux Mint).

It’s up and running but only intercepts local queries.

I thought that entering 0.0.0.0 as the “Primary DNS address” in the router would amount to disabling its DNS, but... maybe it falls back on the DHCP in that case, and fulfills the DNS function through my ISP?

My router doesn’t give me a way to re-direct the DHCP; it can only be enabled or disabled.

I don’t want to disable the router’s DHCP because I want all other devices on the network to still have access to a DHCP service if my main system is down.

Should I enable Pi-hole’s DHCP server anyway, with a different “DHCP IP Address Range” than the router’s? Would that work?


[Edit] Following shmimey’s replies, below, I enabled Pi-hole’s DHCP server and disabled the router’s. That instantly caused my connection to break. 😖️


[Final edit] I described the solution in this reply, below.


[Post-final edit] My rejoicing was premature. It only worked for a while. After approximately 2 hours (maybe exactly 2 hours; the graphs are not precise enough to know and the log is too short), Pi-hole starts refusing every query. This is almost identical to what happened a couple of weeks ago when I tested Pi-hole on a different machine, except that time the reply was always “N/A” (except for queries satisfied from the cache), whereas this time the reply is always “REFUSED”. I’ll have to create another post for this because the title of this one is not suitable.

111
 
 
The original post: /r/pihole by /u/PhoenixGod101 on 2024-10-30 23:09:33.

TLDR; I say a website I use to test my pihole as blocking, and ask how I can block 4 specific rules on my pihole. I give some stats too.

I used https://d3ward.github.io/toolz/adblock to test my pihole with a few lists that I added.

Before pihole I blocked 4% ads. Then 60% with default list of pihole, and now 97%. I seem to be failing on cosmetic ads, ad scripts ~~and one url of Google ads.~~

~~The url I fail on is adservice.google.com~~ (after going to make this post and testing one last time it seems to have blocked it now)

What I would like to know is how I can block the 2 things I’m failing on, which require specific rules. These rules are only for this website, as it tells me that I’m probably fine on other sites but not this one, which is only for testing. The rules are as follows:

d3ward.github.io##.adbox.banner_ads.adsbox

d3ward.github.io##.textads

/pagead.js$domain=d3ward.github.io

/widget/ads.

Overall my blocklist is 750,000 and I’d like to 100% the test lol. How do I add those specific rules? Sorry for long post

112
 
 
The original post: /r/pihole by /u/Bruailen on 2024-10-30 19:24:22.

I've been hosting game servers on my machine for a while now for some friends and I with no issues. I installed pi-hole today and now none of the servers are visible outside my network but I can still connect using my local ip. I only added Pi-hole as the DNS server on my router. Any help on what to do would be appreciated!

edit: Turns out I'm just dumb. My WAN IP changed at the same time I installed Pi-hole so I just didn't catch it

113
 
 
The original post: /r/pihole by /u/Plermpel on 2024-10-29 22:14:23.

Hi,

I just tried to block everything, which is not essential for my Sony Android TV. But I can't figure out where the Icons from the YouTube App are coming from, that seems to be some font stored somewhere. Anybody maybe knows which domain to whitelist for that? Also sometimes the Profile Picture of channels do not show but that's not too important.

114
 
 
The original post: /r/pihole by /u/ArtinGamingTheEpic on 2024-10-29 20:04:17.

Pretty much I was watching videos on how to set up pihole but there admin panels had way more tools then mine did, and I don't know how to make it that pihole works on any device connected to the router automatically. If anyone can find guides or videos for this router that would be amazing! Thanks so much for reading this :)

115
 
 
The original post: /r/pihole by /u/Snowdog2112x1 on 2024-10-29 17:39:44.

Hi, I hope this isn't a daft question, I'm new to Docker & Pi-Hole.

I've set up Pi-Hole in Docker on Windows 10. The Pi-Hole web interface has a 172 address, from docker. My LAN is the usual 192.168 setup.

How can I find which DNS address to use for my other PC's to provide Pi-Hole protection?

116
 
 
The original post: /r/pihole by /u/Madmartigan1 on 2024-10-29 15:23:54.

I have been running Pi-Hole for about 6 years now and it's on an old release of Raspbian (Buster). Since that's no longer supported, I set up a second Raspberry Pi 4 with the current Raspberry Pi OS and added Pi-Hole and teleported the settings to it from the old Pi-Hole.

For some reason, my old Pi-Hole shows hostnames in the dashboard but the new one only shows IP addresses. Any ideas why this might be happening?

117
 
 
The original post: /r/pihole by /u/datawh0rder on 2024-10-29 15:11:17.

...resolve local DNS or IPs in the LAN when it's connected to via wireguard. I'm currently running pihole + wireguard in docker. Whenever I connect to my home network via vpn with my laptop (through personal hotspot so I know it's truly through VPN) I can:

  • SSH into my home server via LAN addr
  • SMB into my movie drive on the home server via LAN addr
  • Within the wireguard container, start a shell and successfully ping IPs on the LAN
  • Visit any outside website through Pihole like canyoublockit.com which DOES block ads

I can also visit IP:port addresses or local DNS urls through pihole when on the LAN and NOT connected to wireguard (e.g. portainer.home)

But as soon as I open a browser and try to travel to an IP:port address or allocated .home URL via wireguard the request stalls until it times out. What gives? Has anyone run into this issue before? It's weird to me that outside URLs work perfectly fine with pihole via wireguard, but local ips/dns doesn't.

118
 
 
The original post: /r/pihole by /u/phusionist on 2024-10-29 13:45:48.

Hi,

i have pihole running on an raspberry zero for about 2 years now. Due to a provider change i had to set up a new router. So i plugged of the Pi, set up the router and everything. But now, if i try to power up the pi, the leds are blinking and it looks like its booting, but it never shows ob on the router or on other wifi scan apps. Obviously i cant SSH into it because i dont have an IP.. Could it be that the pi is stuck in some booting progress, where i have to hit or type anything? Can i do something besides installing everything new? I can access the SSD, can i get my settings from there, to use them on a fresh setup?

Kind regards

119
 
 
The original post: /r/pihole by /u/aabesh on 2024-10-29 02:29:06.

I have Conditional Forwarding turned on in the Pihole and working fine. However some of the hostnames don't resolve even if they have a hostname in the DHCP lease. What is going on here ?

DHCP LEASE

https://preview.redd.it/o9ntwvzewlxd1.png?width=1158&format=png&auto=webp&s=0f5686e103282262789518a95f2a6b6aa1688f7a

Pihole Network

https://preview.redd.it/hj3u16lkwlxd1.png?width=986&format=png&auto=webp&s=bd51bc97d119689faf94f62ec69a1a77344b8225

120
 
 
The original post: /r/pihole by /u/NationalCamp2740 on 2024-10-29 02:22:03.

Okay, I'm a newbie with network stuff, and I'm getting toward the end of my rope with setting this up. I was able to get pi hole installed on my raspberry pi all well and good until it came to setting up my dns server and I realized that ATT doesn't let you configure those settings.

I bought an Archer A54, got it set up and followed this tutorial. Wifi is working great, but now I'm hitting a problem I have 0 idea how to handle.

My LAN's IP address starts with 162 and my DHCP's start and end IP are also in the 162 region. But none of my devices have a 162 IP address. They're all start with 192. Which wouldn't be a problem since they all seem to be working, but I need to assign a static IP address to my pi-hole and every time I try to use its current or around its current IP address, I get this error message: "IP address is not within the same subnet as the LAN IP or its reserved IP Address. Please input another address."

When I put in an address that satisfies it, I restart everything, but the pi-hole doesn't have the assigned IP address (and I've double checked the MAC address). Trying to change the LAN IP address also doesn't work.

At this point I'm pulling my hair out, so if there is any kind of workaround, I would be infinitely grateful.

121
 
 
The original post: /r/pihole by /u/hackenslash8170 on 2024-10-29 00:51:04.

I've been running my pihole server for a couple months now and it seems to be working well. (45 clients, 36.5% queries blocked, adlist > 150k domains blocking)

In addition to pihole, I have an account with opendns.com for their services and my setup there works well also.

I've been hearing others on here say they're getting good results using Google and cloudflare, so I thought what the heck, try all 3.

So in the pihole DNS settings, I have all 4 checkboxes for opendns, google and cloudflare checked and pihole says it's now successfully using 12 upstream DNS servers.

More is better right? Right?!?

Any pihole "masters" out there with an opinion?

BTW, I don't use pihole DHCP and the rest of the DNS tabs settings are all default or off (no local DNS, no conditional forwarding, no custom DNS, recommended settings = On, Never forward nonfqdn...= On, DNSSEC =On) only upstream DNS servers from outside my network (from internet)

122
 
 
The original post: /r/pihole by /u/datawh0rder on 2024-10-28 22:53:53.

I'm running both Pihole and Wireguard in separate docker containers built from their own docker compose files. In the wireguard file I set the PEERDNS to the docker IP of Pihole, and everything works swimmingly on mobile and desktop. Everything except local DNS, that is. When I try to connect to my home network via VPN and then visit something like pihole.home/admin, the request hangs before failing. I looked through the pihole logs and it looks like what's happening is it's receiving a query for pihole.home from the IP address of the wireguard docker container, as opposed to the reserved IP i have for my phone on my home network at the router level (Pihole is not my DHCP). Pihole then tries to return 192.168.... as the resolution for the hostname but that seems to be failing.

So. Why am I posting this here instead of r/wireguard or r/pihole? Because it seems like my main issue is this: One docker container A receives a request from the IP of another docker container B. A returns an IP resolution to B representing the IP of a device on the host LAN, but B seems unable to redirect to said IP. How do I get container B to also connect to the IP on the host LAN? Do I need to set network mode to host on B? Any tips or potential solutions here are appreciated.

When I'm actually on the LAN everything works perfectly, I'm assuming because the requests are going from device -> pihole directly, and the device knows to connect to a LAN IP because it's being resolved through the router itself rather than a siloed container.

Thanks in advance.

123
 
 
The original post: /r/pihole by /u/RunningWhale on 2024-10-28 21:15:54.
124
 
 
The original post: /r/pihole by /u/Castriff on 2024-10-28 20:51:16.

(I submitted a post earlier today saying that the issue was only occurring on one device, but my roommate is reporting lag again so I deleted it and rewrote it here with other details.)

I'm going to try to be thorough, because I'm not certain which details are relevant and which aren't. Let me know if I need to provide anything else.

My Pihole is set up on a Raspberry Pi 4 Model B running Bookworm on a 32 GB SD. My router is a Google Nest Pro Wifi with three nodes: the main node is in the living room connected to the modem, one node is in my room and the other is in my roommate's. My Pi is powered through PoE on a TP-Link 5 port Gigabit PoE switch, connected to the router in my room, and both the wifi node and the PoE switch are hooked up to a 950VA UPS (we have a lot of brownouts in our apartment, the UPS keeps things stable). The Pi has static IPv4 addresses for both ethernet and wifi set via the router. I have the router set to give DHCP solely to the Pihole's ethernet address, and pass out the Pihole as the DNS server as well for both IPv4 and IPv6. I use the Pihole as both DNS and DHCP, but currently only a few of my devices are using ad filtering. My roommate's devices aren't being filtered at all. My expectation was that this setup would be sufficient to test the Pi-hole for a while and then eventually add my roommate's devices to the filtering group as well. That hasn't happened. I've been chasing down this issue on and off for a couple months now.

When I navigate to certain domains, I will sometimes see them take anywhere from 15 to 45 seconds to load content, and occasionally not all the content will load fully unless I refresh the page. I haven't been able to figure out why this is happening. It occurs at random times of day on random websites, no websites are affected consistently as far as I can tell, and it doesn't ever seem to affect more than one device at a time. We've had this issue most often with our Windows 10 PCs; other devices seem to be less affected.

For a while I thought that the issue must have been the router nodes, so last week I went and got them replaced under warranty. It seems to have improved things somewhat for some devices, but the PCs are still having issues. I also switched out the PoE splitter I was using with the Pi for a Waveshare PoE hat (the Pi would restart on its own sometimes; as far as I can tell the majority of the PC issues were happening even when the Pi was operating properly, but I thought it was worth addressing).

The Pi was' disconnected while I waited for the PoE hat to come in, but now that the Pi is back up my roommate and I are now seeing the lag issue again. We did some speed tests today and found that the download speed dropped from 437 Mbps without the Pihole DNS to 77 when it's enabled. I've heard multiple times that the Pihole is supposed to make the network faster, not slower, so I don't understand what's gone wrong with our setup. Am I using the wrong settings, or is there something physically wrong with the Pi?

Also, I'm not sure whether this is relevant, but I've noticed that when my own laptop is dealing with this, I tail pihole.log, and the issue seems to clear up right after a set of DHCPDISCOVER and DHCPOFFER calls are sent out. The MAC address on those calls is for the primary Nest Pro router node, but the IP address of the router isn't changing (which I obviously wouldn't want). I've been wondering whether the issue has something to do with this, or if it's just a coincidence. The calls look like this:

Oct 28 10:49:16 dnsmasq-dhcp[11352]: DHCPDISCOVER(eth0) 24:e5:0f:bf:5f:46 
Oct 28 10:49:16 dnsmasq-dhcp[11352]: DHCPOFFER(eth0) 192.168.86.206 24:e5:0f:bf:5f:46 
Oct 28 10:49:16 dnsmasq-dhcp[11352]: DHCPDISCOVER(wlan0) 24:e5:0f:bf:5f:46 
Oct 28 10:49:16 dnsmasq-dhcp[11352]: DHCPOFFER(wlan0) 192.168.86.206 24:e5:0f:bf:5f:46

If it's not relevant to the PCs, do I need to be concerned about it at all? If so, I'd like to take steps to fix that as well.

Again, please let me know if I need to provide any other information. Thank you.

Debug token: https://tricorder.pi-hole.net/nMqMxgDe/

125
 
 
The original post: /r/pihole by /u/fjleon on 2024-10-28 12:48:29.

is there a possibility that pihole is blocking some notifications from android apps? around the same time i got pihole installed, a couple of apps that usually sent me notifications are no longer being sent, despite seeing the notification being enabled in the app settings and having attempted to uninstall/reinstall

view more: ‹ prev next ›