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
26
 
 
The original post: /r/pihole by /u/asia_dingdong on 2024-11-09 20:01:12.

Hello

Tried to use "Vox HD" from Switzerland.

Get the required "Transmitter-Ads" and other Ads not shown, but a recurring loading signal. After disable pi-hole it's working. I'll think some needed domain is blocked.

If i ask my provider, they probably say,

  • ask vox

  • disable pi-hole

  • see for yourself, we can't help since you block ads.

I saw around the possible time this URLs what got blocked:

What does the URL and which i have to unblock for getting not blocked by my tv?

Greetings,

asia_dingdong

27
 
 
The original post: /r/pihole by /u/secrethabit on 2024-11-09 19:45:47.

Can someone help me understand how am I able to set and use cleanbrowsing as my DNS when I'm clearly over the limit on both the devices and requests/month quota for the free tier?

Cleanbrowsing tiers

Total queries over last 24 hours

That's an ~8M a month

28
 
 
The original post: /r/pihole by /u/RoachForLife on 2024-11-09 19:09:45.

Hi all. I have several urls that link to my NAS as different ports, all on the same IP. Possible to do something like

abc.domain.com to 192.168.1.1:1111

xyz.domain.com to 192.168.1.1:2222

When I put in the port via the DNS page on the web ui, pihole yells at me so assuming no but maybe there is some other method? Thanks

29
 
 
The original post: /r/pihole by /u/Appropriate-Truck538 on 2024-11-09 18:46:32.

So I've been using pihole on my rasp pi 5 without unbound for a while now, how is the performance with unbound compared to without it?

Does unbound by default use DNS over tls?

Can I uninstall unbound if I decide I don't like it?

What's the process for uninstalling it?

Just "sudo apt uninstall unbound" or something?

30
 
 
The original post: /r/pihole by /u/tazz131 on 2024-11-09 18:34:25.

Hello,

I have two PiHole's running. One as a main, and the other as a back up.

I just installed Unbound on one of them.

Do I need to install Unbound on the second one? Or can I just change the DNS server to the custom one I created on the first PiHole?

Thanks.

31
 
 
The original post: /r/pihole by /u/ComfortIndependent77 on 2024-11-09 17:43:51.

Hey,

I wanted to support you guys a little and order a couple of things from the shop. When I get to the payment bit, it says "Sorry, it seems that there are no available payment methods. Please contact us if you require assistance or wish to make alternate arrangements.".

I am trying to order to the UK, although that doesn't seem to be the problem as if I switch to US, it still says no payment methods.

Hopefully can be fixed soon? :)

Thanks

32
 
 
The original post: /r/pihole by /u/vocoder on 2024-11-09 17:09:36.

Currently running PiHole and Wireguard on a RPI 3B+. I have a spare RPI 4 laying here. Can I just swap my SD card into the 4 and fire it up, or will that not work? Thanks!

33
 
 
The original post: /r/pihole by /u/yellowroll on 2024-11-09 07:03:46.

Installed pihole 3 years ago but haven't updated it ever since. I can't remember which raspberry pi OS i installed nor the password for the pi. Therefore I will need to do a fresh new install of the OS and pihole. Is the best method to shutdown pihole and the pi and remove the SD card and format the card?

From my last installation I found making any changes to the pihole very cumbersome as you have to be careful to not corrupt SD card and remember to turn of the raspberry pi each time you wish to make changes.

What is the best setup in terms of raspberry pi if my main purpose is to use it for pihole. I have old windows laptop and macbook at my disposable. I simply wish to have the simplest way so whereby if I need to update or make changes it isn't such a hassle as it is right now. Do I need external power supply for pi or a switch that powers it off and on?

In the past I had to enable DHCP on the Pi and disable it on the router, is this still the best practice. Also I used to use an ethernet cable connected to an old laptop to do the ssh and tinker with pihole incase I lost connection to all my other devices. Again I am not sure if this is the best practice as I simply followed a YouTube video that was made 4 years ago.

Is it better to go windows, mac , linux (never used it before) route?

SSH into the Pi what is the best practice?

34
 
 
The original post: /r/pihole by /u/tux-5574 on 2024-11-09 03:51:23.

TL;DR: After switching from my GL-iNet as the DHCP sever to my PiHole, I cannot access my VPN anymore.

Long Story:

I have been using Pi-Hole with UnboundDNS for a little over a month now, so I am a bit new to this.

My initial network setup was on a double NAT'd little GL-iNet travel router behind a starlink router. I just had a couple devices on this network to include Pi-Hole and Unbound running on my Ubuntu server. I had no issues and everything ran smoothly. However, I wanted to expand pihole and VPN to my entire home network and the travel router couldn't handle the encryption. I bought a nicer GL-iNet router that could handle the encryption for the entire home/family.

This was where I ran into my first issue. Technically everything worked. The VPN and pihole. However, my DNS queries started going haywire and I was getting 500-2000 requests per second. It looked like 1 individual request would turn into hundreds. I had to change my timeout to 100k request per minute temporarily to figure it out but eventually my server crashed. I have a google router that is used only for my google security cameras (side note: google home products are absolutely terrible and only got it because its an ADT solution and that's what the wife wanted). I switched the DNS for that network to google's DNS and it did alleviate some of those queries but the issues was still at a critical level.

It is important to note that my router was the DHCP server at this time. I switched the DHCP server to the pihole so I could log the traffic effectively but somehow once I did that, all the traffic and DNS queries became normal again. OK, so thats fixed, phew!

Now, every time I turn on my WireGuard client on my router, I lose all internet connection. In the router, you can specifically bypass the VPNs DNS settings. So I'm assuming that it has something to do with this. However, it does not appear to only be a DNS issue as I cannot ping 1.1.1.1 or 8.8.8.8 with the VPN running. So, that is where I am at. Any help or ideas would be very much appreciated. I am postie this is something so small but my brain is a little fried from working all these little various issues setting up the new network and setting a remote LAN access solution (that's a whole other story that I will be asking for help regarding remote access to Pihole and UnboundDNS in the future but that's small potatoes right now).

I'll have a bacon cheese burger and some fries. TIA.

35
 
 
The original post: /r/pihole by /u/aabesh on 2024-11-08 19:47:30.

https://preview.redd.it/cdqqt0cpeqzd1.png?width=1022&format=png&auto=webp&s=b522cd07eb26d859918692fff1f8936226078478

When I do a nslookup for samba.org it appears that my pihole is also looking for a local site : "samba.org.local.lan" ? I do have a local.lan domain but not sure why pihole would consider samba.org for a local lookup ?

36
 
 
The original post: /r/pihole by /u/aabesh on 2024-11-08 18:15:34.

Hello all !

I'm experiencing an issue where, when I first try to visit a website, the browser shows an error message saying the site doesn't exist or is down. However, if I refresh the page or wait for a second or two, it eventually loads without any problems.

This issue is also affecting other applications, such as connecting to game servers. Initially, it will say "couldn't connect," but then a few seconds later, or after restarting the game, the connection works fine.

My network is setup thus -> ATT Passthrough --> pfSense --> TPLink Managed Switch (1 VLAN)

TPLink Managed Switch -> Deco Mesh Router (192.168.86.0/24)

TPLink Managed Switch -> piHole (10.0.0.10)

I did some digging around and it seems the first query for websites that are cached are very slow. That's why I keep on getting a "Not Found"

https://preview.redd.it/d3ijyvltxpzd1.png?width=1148&format=png&auto=webp&s=0f741ca39c9ad211a18627f82465b5865d79c339

Once they are cached they are fast and thus when I reload the page loads fine.

https://preview.redd.it/xk6z3o3wxpzd1.png?width=1147&format=png&auto=webp&s=9d3e77debee3ededef1c692188e089a902f860d9

My current DNS setup is that I use the DNS Resolver in pfSense in "Forward Only" mode. It forwards the request to pihole on a separate VLAN. Pihole uses an unbound server running on the same machine to answer queries.

This is my debug token : https://tricorder.pi-hole.net/QNphsRYw/

37
 
 
The original post: /r/pihole by /u/tootenning on 2024-11-08 16:57:13.

I use pihole on my raspberry 3b at home. I use a synology router with the DNS pointed to the IP of the pi. The router acts as a dhcp.

When I look at top clients, I can various devices across my network, but also the 'pi.hole', is that correct? In addition, I also see my routers i.p, is that correct?

38
 
 
The original post: /r/pihole by /u/axelbrant on 2024-11-08 11:12:15.

Pihole in combination with UniFi network.

I have set everything as per all the guides:

  1. Conditional forwarding points to DHCP gateway
  2. UniFi uses Pihole as DNS resolution for LAN
  3. In Pihole, did flush network tables and logs (last 24 hours)

Everything seems to work just fine except the client lists in Pihole dashboards being absolutely out of date, somewhere still hides the old IP-to-name matching and does not flush.

I don't even know now at what side that is - in Pihole or UniFi DHCP..

Any advice how to debug the issue?

39
 
 
The original post: /r/pihole by /u/gayautistic on 2024-11-08 04:01:21.

Do i have to turn off “hide IP address” in ios under safari settings for pihole to work correctly?

40
 
 
The original post: /r/pihole by /u/ElrondMcBong231 on 2024-11-07 22:23:12.

Hey,

i don't know why but my pihole sees my new Pixel 9 as "Mi10-MiPhone.localdomain" under Top Clients. I wondered why this adress keeps requesting stuff as i don't own a Mi10. I verified that with pinging this adress and checking the IP adress that responded and checked the IP in my router. I also tried flushing the network table but that doesn't help. All other devices seem to be displayed right. How does this happen?

Thanks in advance

41
 
 
The original post: /r/pihole by /u/TheHenanigans on 2024-11-07 17:33:32.

I have a Raspberry Pi 4B with Nextcloud installed and running. I now installed pi-hole via installer (but without lighttpd). I created a pihole.conf within /etc/apache2/sites-available/ with:

<VirtualHost *:8080>
        DocumentRoot /var/www/html/admin/
        RewriteEngine on
        RewriteRule   "^/$"  "/pihole/"  [R]
</VirtualHost>

And told the ports.conf to listen to 8080. I also made www-data member of pihole group.

When trying to access <pi-IP>:8080 via Firefox it forwards to <pi-IP>:8080/pihole but says

Not Found

The requested URL was not found on this server.

Not Found

The requested URL was not found on this server.

Apache/2.4.62 (Debian) Server at Port 8080

<pi-IP> reaches nextcloud with <pi-IP>/index.php/login

What confuses me is that /var/www/html/pihole/ doesn't exist (although I think it should). Maybe that's the culprit?

ETA: I ran a2ensite pihole

42
 
 
The original post: /r/pihole by /u/lonecow on 2024-11-07 13:12:29.

Ive been having a memory leak of some sorts in dhcpcd. I was wondering if anyone else has seen something Similar.

It happens when I keep a ssh connection open over time.

I added a gig of memory to the swap file, but that only extended Out of Memory error from a couple days to a month.

[1443083.606896] lowmem_reserve[]: 0 0 0 0
[1443083.606928] DMA: 641*4kB (UMEHC) 360*8kB (UMEHC) 251*16kB (UMEH) 117*32kB (UMEH) 56*64kB (UMEH) 20*128kB (UMEH) 6*256kB (UH) 1*512kB (M) 0*1024kB 0*2048kB 0*4096kB = 21396kB
[1443083.607052] HighMem: 260*4kB (UM) 40*8kB (UM) 11*16kB (U) 4*32kB (U) 6*64kB (U) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2048kB
[1443083.607150] 1558 total pagecache pages
[1443083.607158] 106 pages in swap cache
[1443083.607165] Swap cache stats: add 267649, delete 267542, find 1206769768/1206772230
[1443083.607171] Free swap  = 0kB
[1443083.607177] Total swap = 1048572kB
[1443083.607183] 242688 pages RAM
[1443083.607189] 46080 pages HighMem/MovableOnly
[1443083.607195] 6739 pages reserved
[1443083.607200] 65536 pages cma reserved
[1443083.607206] Tasks state (memory values in pages):
[1443083.607212] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[1443083.607228] [    160]     0   160    12873     8175   106496      243         -1000 systemd-udevd
[1443083.607239] [    361]   108   361     1730       49    40960       65             0 avahi-daemon
[1443083.607247] [    362]     0   362     2050       19    36864       34             0 cron
[1443083.607255] [    363]   104   363     2216      373    45056       47          -900 dbus-daemon
[1443083.607263] [    364]   108   364     1689        8    36864       58             0 avahi-daemon
[1443083.607271] [    372]     0   372     9890      104    69632       79             0 polkitd
[1443083.607279] [    377]   112   377   232749     4153   233472       43             0 prometheus-node
[1443083.607287] [    383]   112   383   349167    15165   528384      393             0 prometheus
[1443083.607294] [    418]     0   418     6636      282    57344       54             0 rsyslogd
[1443083.607302] [    423]     0   423     2273       37    40960      129             0 smartd
[1443083.607309] [    430]     0   430     3264       95    53248       70             0 systemd-logind
[1443083.607317] [    439] 65534   439     1328        4    32768       43             0 thd
[1443083.607325] [    444]     0   444     2947       14    45056       90             0 wpa_supplicant
[1443083.607333] [    468]     0   468    14453      147    90112      189             0 ModemManager
[1443083.607341] [    473]   111   473   265637    10431   544768      549             0 influxd
[1443083.607349] [    477]     0   477     6924       25    40960       10             0 rngd
[1443083.607357] [    495]   110   495    10085      189    65536      213             0 redis-server
[1443083.607365] [    556]     0   556     3102       21    45056      148         -1000 sshd
[1443083.607373] [    583]   109   583     3425       39    49152       49             0 dnsmasq
[1443083.607381] [    597]     0   597     2980       29    45056      100             0 wpa_supplicant
[1443083.607388] [    668]     0   668     1860       72    36864       50             0 hostapd
[1443083.607396] [    678]     0   678      514        1    24576       28             0 hciattach
[1443083.607404] [    692]     0   692     5364        0    65536      213             0 bluetoothd
[1443083.607412] [    780]     0   780   405701   153395  3272704   251693             0 dhcpcd
[1443083.607419] [    781]   113   781   209514     5874   446464      984             0 grafana
[1443083.607427] [    794]     0   794     1121        0    36864       26             0 agetty
[1443083.607434] [    795]  1000   795     1942        0    36864       43             0 bash
[1443083.607442] [    796]     0   796     1942        0    40960       43             0 bash
[1443083.607450] [    799]     0   799     1942        1    40960       43             0 bash
[1443083.607457] [    802]  1000   802     1942       23    40960       18             0 bash
[1443083.607465] [    804]  1000   804     1942       23    40960       18             0 bash
[1443083.607472] [    805]     0   805     7565      479    77824     1059             0 python
[1443083.607480] [    807]     0   807     8846      808    81920     1677             0 rq
[1443083.607488] [    808]  1000   808    14867      629   106496     3444             0 flask
[1443083.607496] [  19103]     0 19103     5002      328    40960      250             0 systemd-udevd
[1443083.607504] [  12782]  1000 12782      440       13    20480        0             0 sshpass
[1443083.607512] [  12784]  1000 12784     3427      413    49152        0             0 ssh
[1443083.607519] [  20060]  1000 20060      440       13    28672        0             0 sshpass
[1443083.607527] [  20063]  1000 20063     3162      125    49152        0             0 ssh
[1443083.607534] [  25071]   103 25071     5572      137    57344        0             0 systemd-timesyn
[1443083.607543] [  21468]     0 21468     1975       37    40960        0             0 bash
[1443083.607550] [  21474]     0 21474     1975       37    36864        0             0 apt.sh
[1443083.607558] [  21475]     0 21475      472       13    28672        0             0 sponge
[1443083.607566] [  21477]     0 21477     1975       44    36864        0             0 apt.sh
[1443083.607574] [  21478]     0 21478    15876     3736   151552        0             0 apt-get
[1443083.607581] [  21479]     0 21479     1768       26    40960        0             0 awk
[1443083.607589] [  21480]     0 21480     3251       15    45056        0             0 sort
[1443083.607596] [  21481]     0 21481     1624       13    40960        0             0 uniq
[1443083.607604] [  21482]     0 21482     1768       15    36864        0             0 awk
[1443083.607613] [  11581]     0 11581     7311      198    57344        0          -250 systemd-journal
[1443083.607622] [  13136]     0 13136     1064      102    32768        0             0 easytether-usb
[1443083.607630] [  13137]     0 13137     1139       89    28672        0             0 modprobe
[1443083.607638] [  13138]     0 13138    12873     8175   106496      242         -1000 systemd-udevd
[1443083.607646] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=dhcpcd,pid=780,uid=0
[1443083.607703] Out of memory: Killed process 780 (dhcpcd) total-vm:1622804kB, anon-rss:613580kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:3196kB oom_score_adj:0
[1443084.580094] oom_reaper: reaped process 780 (dhcpcd), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

43
 
 
The original post: /r/pihole by /u/Jolly_Blueberry6456 on 2024-11-07 08:58:38.

My raspberry pi is running dietpi, I run PiHole along with unbound. In the settings of the dietpi configuration it asks about network etc, asking static ip…. It says dns server then says if you run an unbound server check unbound. Should the device I’m running unbound and pilhole on be set to say 8.8.8.8 or should it be directed towards unbound?

TIA

44
 
 
The original post: /r/pihole by /u/Cheeze_It on 2024-11-07 04:48:57.

Heyas. So I've been running PiHole as a docker container in a VM for a while but I noticed that it's been really using a ton of RAM lately. The latest iteration of the process here before I restart it is at:

top - 21:42:14 up 12 days, 12:38,  1 user,  load average: 0.17, 0.28, 0.27
Tasks: 140 total,   1 running, 139 sleeping,   0 stopped,   0 zombie
%Cpu(s):  4.3 us,  3.7 sy,  0.0 ni, 92.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :   3915.4 total,    102.1 free,   3310.9 used,    817.1 buff/cache
MiB Swap:    975.0 total,    973.5 free,      1.5 used.    604.5 avail Mem

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
 500592 999       20   0 2554084   1.9g  14580 S   0.0  50.3   5:29.83 pihole-FTL
1432108 999       20   0  249356 197808  10844 S   0.0   4.9   0:17.84 unitd
1431631 999       20   0  249316 197236  10460 S   0.0   4.9   0:15.19 unitd
1432928 999       20   0  296388 189152   4728 S   0.0   4.7   0:31.67 python
1433234 999       20   0  296388 186872   2448 S   0.0   4.7   1:12.16 python

Are you all seeing this issue also?

Initially I was running latest image, then I went backwards to 2023.10.0 and seemingly still having it.

45
 
 
The original post: /r/pihole by /u/nebbywan on 2024-11-07 03:58:26.

Ignore me if this has already been done and I just suck at google-fu. Since the change in the API with v6, the amazing Pi-hole Remote iOS app no longer works. In the meantime, I created a Shortcut to disable blocking on a timer and figured I'd share for those in the same boat:

https://www.icloud.com/shortcuts/42369633fd8641e1a11384e837807649

In the first "Get Contents" you'll need to enter your password/app-password in the "Value" column.

https://preview.redd.it/14o54y62jezd1.png?width=1250&format=png&auto=webp&s=0f2345cd7a3b22b25c3119c6c6ab92ede22233fc

In the second you can modify the length of time (in seconds) to disable in the "timer" value.

https://preview.redd.it/t6kgjq73jezd1.png?width=1248&format=png&auto=webp&s=f632da23038b93af81c15afab6b3f728fcfdb5dc

I have 2 Pi-holes so I copied everything and pasted it below and changed the URLs, variable name (sid1 to sid2), and changed to that variable (sid2) in the header of the second "Get Contents"

Lemme know if anyone has suggestions, but hopefully this'll be moot when Joost gets his v6 update out soon.

46
 
 
The original post: /r/pihole by /u/dedehm on 2024-11-07 03:04:58.

I've setup my pihole yesterday and I've noticed that if I watch YouTube videos on the network with pihole they don't go to my YouTube history. Is there a solution?

47
 
 
The original post: /r/pihole by /u/RationalDivergence on 2024-11-07 01:20:47.

I was looking into localhost ChatGPT-ish LLMs (Ollama), and the thought occurred to me that maybe a localhost Pi-hole could be useful when I'm connected to an external network.

e.g.: using location-based rules for network settings, when connected to ABC network (or paired to XYZ mobile hotspot), direct DNS queries to a localhost instance of Pi-hole running in a Docker.

To me, this sounds easier than setting up a VPN tunnel back to my home Pi-hole Raspberry Pi.

Any blindspots that I'm missing with an idea like this?

48
 
 
The original post: /r/pihole by /u/pongolo on 2024-11-07 01:03:06.

Hello.

My goal is to have several internal IP addresses routed exclusively through an outbound VPN. I have a Netgear Orbi RBR850 and it does not have this capability and am looking for an option that will allow me to route the selected IPs through a VPN.

I have searched the subreddit for options on how to do this but I'm not sure I'm finding the right info. My setup is as follows:

  • T-Mobile Modem
  • 1 Netgear RBR850 (router)
  • 1 Netgear RBS850 (satellite)
  • Pihole

I would love to use the Pihole to accomplish this but I'm not sure how to do this.

Appreciate any help!

Thanks!

49
 
 
The original post: /r/pihole by /u/wildemam on 2024-11-06 19:58:39.

Such info would be the best way to identify clients that request a lot of ads. Is there a way to see this info, even through grafana?

50
 
 
The original post: /r/pihole by /u/Verhulstak69 on 2024-11-06 18:20:42.

I recently unsubscribed from youtube premium due to the recemt price hike but i didnt know how annoying the ad situation is on youtube nowdays

Anyway do you guys have a adlist that can block the modern methods of google ads

Thanks!!!

view more: ‹ prev next ›