r/pihole Feb 01 '17

Updated 10/02/18 (bad link) Welcome to the Pi-hole Subreddit. Please read before posting!

77 Upvotes

Welcome to /r/pihole, where your adventures into network wide adblocking start!

Before posting a new thread, you may want to check out the following:

  • Subreddit Search: As mentioned here, Reddit will only return matches of titles and self-text (the text of the original post), but not comments. So, do be sure to check out the latest stickied release announcement thread just in case.
  • Our Discourse Forums: Many things are covered here, and we even have a German Language Subforum staffed by one of our native-speaking German developers.
  • Pi-hole issues on Github: Pi-hole Core, Admin Dashboard and the FTL Engine.
  • Having issues with, or have found a bug in a new release? Check the stickied new release thread to see if someone has already reported it. If not, then please create a top level comment in that thread.

There's some other things to keep in mind:

  • Pi-hole does not block every single ad, but it'll do its hardest to ensure that everything that is blocked stays that way.
  • Ad lists are maintained by people outside of the Pi-hole project. This means that it's possible for ads to get missed, and certain legitimate websites be accidentally blocked!
  • There's a wide range of hardware used for routers, and an even wider range of hardware that you can run Pi-hole on. We try our best to support Pi-hole on as much hardware as possible, but as always, your milage may vary!
  • There is one rule we ask you never break: Do NOT advertise your own public-facing instance of Pi-hole, or any other DNS server. DNS security is hard, and anything but the most secured DNS servers will contribute to a DNS amplification attack. In some cases, your ISP will even block your Internet connection!
  • Using a Pi-hole as a DNS server has the ability of tying your browsing history to your device. Be aware of this when using a Pi-hole you don't have complete control over.

Our community does a wonderful job of answering questions and helping users out, and personally, we like to think that it also does a good job of moderating itself through the voting system and reporting functions. Whilst we try and answer as many posts here as possible, it can get tedious if there's something that has already been asked many times, and could have been solved with a little time searching for a solution!

Finally, remember your reddiqutte: the people you're speaking to are also human, and have a wide range of technical aptitudes.

Cheers, your friendly mods.


r/pihole Sep 02 '24

Thank You for Being Part of the V6 Beta!

Thumbnail pi-hole.net
160 Upvotes

r/pihole 19h ago

What “adlists” are mainly used these days?.

72 Upvotes

I’ve been using just 1 block list for a bit now, am kinda curious if there is anything new or not…

Tia


r/pihole 7h ago

Pi hole iOS widget

5 Upvotes

Any pi.hole v6 iOS widgets available?


r/pihole 9h ago

PiHole Tables Error When Upgrading Raspberry Pi OS

3 Upvotes

So this morning I decided to upgrade my Raspberry Pi OS from Bullseye to Bookworm. Everything seemed to go ok, except now in my PiHole web admin interface, I see the following error pop-up under the Diagnosis tab:

DataTables warning: table id=messagesTable - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

Its a pop-up that doesnt let me do much but let me click "ok" to get out of it, then the message disappears and no further info on this error is found...

I tried clearing browser cache, didnt fix anything.

Can anyone help point me in the right direction on this to figure it out?


r/pihole 10h ago

Pi-Hole Setup Help?

2 Upvotes

I am having trouble re-setting up pihole, I host it on a synology nas through docker and i spit the docker in a macvlan which is cool but im limited to the stuff i want to do with it with it being in the vlan, (tldr, want another one of my containers to communicate with it to get its stats) but I cant do dat on macvlan. Whenever I try hosting it normally on my NAS it works but my clients across my network do not connect to it. And yes i renewed da dhcp lease and added the ip of the pihole to the dns settings in my router. It just doesnt work unless i pop it in the macvlan, any help?


r/pihole 7h ago

TP-Link DNS settings

0 Upvotes

Hey, I have set up a pi hole which works fine with unbound etc. The question I have now is that I have entered the PI as the primary DNS on my router, but I get 2 DNS servers via DHCP, one is the router (192.168.0.1) and the other one is the PI (192.168.0.3), even though I have only set the PI in the DHCP configuration. Can anyone explain this to me?
PS: I have a German ISP and I also get DNS servers etc. from the ISP. If this is a help full info.


r/pihole 19h ago

Trying to run NGINX and Pi-Hole on the same host (without running into conflicts for Ports 80 and 443)

0 Upvotes

I have been trying to look up about how to setup NGINX and PiHole on the same PC without running into conflicts with respect to ports 80 and 443. I can across another post where solution was removed (https://www.reddit.com/r/pihole/comments/jmodml/pihole_and_nginx_on_same_pi/). But I also stumbled upon this example

Simply running docker compose up -d did do the trick but I cannot see the mapping for 443 anywhere. Can someone explain why the below does not work:

docker run -d --name pihole -e ServerIP=192.168.1.64 -e WEBPASSWORD=SomePassword -e TZ=America/Ensenada -e DNS1=192.168.1.200 -e DNS2=8.8.8.8 -e DNS3=1.1.1.1 -p 8053:80/tcp -p 53:53/tcp -p 53:53/udp -p 8443:443/udp --restart=unless-stopped pihole/pihole:latest

and how to interpret this example: https://github.com/pi-hole/docker-pi-hole/blob/master/examples/docker-compose-nginx-proxy.yml#L48 (P.S. I am not an expert in docker).


r/pihole 1d ago

pihole clients are all suddenly identifying (multiple IP addresses) as a Yeelink light bulb

6 Upvotes

So, top blocked clients, all of them, list YeelightColorBulb as the hostname. Top allowed client is the same, but there are other clients in that list as well (pihole and localhost - which is also weird).

The pihole and local host are just looking 1.1.1.1.in-addr.arpa (PTR).

I recently changed from a quite older eero mesh system to TPlink Deco mesh wifi.

any ideas?


r/pihole 15h ago

Block access to local dns

0 Upvotes

Hello, is there a way to block access to local dns for some device (ip, group of ip, subnet) ? I’m asking for a case where I have a guest vlan and don’t want that group to access my local dns even if they can’t access it because of segmentation.


r/pihole 21h ago

Why is the last entity not using Pi-Hole? Is this same for everyone? Inspecting the container id reveals it is the IP address of the Pi-Hole server.

0 Upvotes

"NetworkSettings": {

"Bridge": "",

"SandboxID": "<sandbox_id>",

"SandboxKey": "/var/run/docker/netns/ce8fb5f31c15",

"Ports": {

"443/tcp": [

{

"HostIp": "0.0.0.0",

"HostPort": "443"

}

],

"53/tcp": [

{

"HostIp": "0.0.0.0",

"HostPort": "53"

}

],

"53/udp": [

{

"HostIp": "0.0.0.0",

"HostPort": "53"

}

],

"67/udp": null,

"80/tcp": [

{

"HostIp": "0.0.0.0",

"HostPort": "80"

}

]

},

"HairpinMode": false,

"LinkLocalIPv6Address": "",

"LinkLocalIPv6PrefixLen": 0,

"SecondaryIPAddresses": null,

"SecondaryIPv6Addresses": null,

"EndpointID": "<endpoint_id>",

"Gateway": "172.17.0.1",

"GlobalIPv6Address": "",

"GlobalIPv6PrefixLen": 0,

"IPAddress": "172.17.0.3",

"IPPrefixLen": 16,

"IPv6Gateway": "",

"MacAddress": "02:42:ac:11:00:03",

"Networks": {

"bridge": {

"IPAMConfig": null,

"Links": null,

"Aliases": null,

"MacAddress": "",

"DriverOpts": null,

"NetworkID": "<network_id>",

"EndpointID": "<endpoint_id>",

"Gateway": "172.17.0.1",

"IPAddress": "172.17.0.3",

"IPPrefixLen": 16,

"IPv6Gateway": "",

"GlobalIPv6Address": "",

"GlobalIPv6PrefixLen": 0,

"DNSNames": null

}

}

}

}


r/pihole 1d ago

Need help blocking more ads

Post image
29 Upvotes

New install of pihole,I'm only using the adlist https://big.oisd.nl/, noticed that it's hardly stopping anything, it's set up having to change DNS on the device connecting to the pi (changed DNS on my phone and laptop as per guide) any ideas guys or can I give you any more information?


r/pihole 1d ago

Blocklists Issue - Blocked Domains Shows Zero

2 Upvotes

Hi All - Finally got my Pihole running again on a fresh install. I have tried five (5) different block lists (below). Under Adlists, only StevenBlack reflects 117,899 domains on the list. The remaining four (4) lists show zero (0) domains. I ran the gravity update multiple times and it finished successfully each time. Also reboot Pi-hole. All this to no avail. Dashboard reflects 744,422 domains on adlists, but this number hasn't changed after I've added the three (3) non-default lists from OISD and Firebog.

Any thoughts or suggestions? Blocking about 12% right now.


r/pihole 1d ago

How do i redirect to a different IP in my block-list?

0 Upvotes

Since there is almost no information on how to write a block-list i assumed it is as follows (correct if im wrong)
For each row: \[redirect to\] \[redirect from\] Because of this I wrote a file that has a redirect to a diffrent site (my blocked page), but this does not work. Please let me know if i wrote this wrong/assumed wrong, and if there is any way to do what i want (for this block-list forward all requests to this custom block page) ```

Title: WhyFenceCode's FocusMode/hosts

This hosts file is a collection of social and other distracting hosts I want to block when I am in focus mode.

with a dash of crowd sourcing via Discord

Date: 26 December 2024

Number of unique domains: 0

Fetch the latest version of this file: https://raw.githubusercontent.com/WhyFenceCode/FocusHosts/refs/heads/main/hosts

Project home page: https://github.com/WhyFenceCode/FocusHosts/tree/main

Project releases: NONE YET

===============================================================

whyfencecode.github.io/FocusPages/ discord.com whyfencecode.github.io/FocusPages/ youtube.com whyfencecode.github.io/FocusPages/ snapchat.com whyfencecode.github.io/FocusPages/ instagram.com whyfencecode.github.io/FocusPages/ whatsapp.com whyfencecode.github.io/FocusPages/ pinterest.com ```


r/pihole 1d ago

Problemas de ejecución

0 Upvotes

Hello, I don't know if I'm doing something wrong, I installed pihole through Docker (use the standard configuration), just change port 80 to 60 since I have port 80 in use by another application and it marked an error due to its use. of the same.

Well the fact is that it is running since I check it using the command "sudo docker ps", and it marks that it is ready and running

As shown in this screenshot, I don't know if changing the port changes anything and that's why it doesn't start when I try to enter through the IP and port that I indicated, I also tried through the port that is given by TCP which tells me I can't access the site, I'm new to this Ubuntu server


r/pihole 1d ago

Apple TV - Rate limited - https.local

0 Upvotes

My piHole is showing that one of my Apple TVs is slamming the piHole querying https.local. So much that it is rate limiting the device. Has anyone seen this before? Any idea why it would be doing this?


r/pihole 1d ago

How do I disable rate limiting?

0 Upvotes

Or how do I increase it by a large amount? My verizon router causes all my queries to go through its own hostname and therefore it constantly gets rate limited by pihole.

I know I can use pihole as a DHCP server to possibly fix this but I have not had the time to start that process, as I need to preserve IP addresses currently assigned.

Is there a way I can increase rate limiting amount so this stops happening in the mean time?


r/pihole 2d ago

Test Pi-Hole Configuration (without Adlist)

7 Upvotes

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.


r/pihole 2d ago

Using Crontab for to update Gravity

0 Upvotes

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.


r/pihole 2d ago

cant whitelist in GUI and have to use ssh

0 Upvotes

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?


r/pihole 2d ago

Automating PI-Hole Blacklists

0 Upvotes

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)?


r/pihole 2d ago

Automating PI-Hole Blacklists

0 Upvotes

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)


r/pihole 3d ago

Pi-hole and Debian taking up way too much space?

0 Upvotes

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.


r/pihole 4d ago

Diagram before/after Unbound

Post image
36 Upvotes

Hello PiHole users !

I'm trying to make a diagram for my personal notes to illustrate how pihole works before and after the use of unbound. So I made this with draw io website, based on the docs here

Can you correct me if i'm wrong please and in particular for step 2 and 3 (check cache and lists). I don't know if the lists is checked after the cache or in same time or only if not present in cache.

Thanks to all in advance and merry Christmas!


r/pihole 3d ago

Merry Christmas and Happy Chanukah

0 Upvotes

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.


r/pihole 4d ago

Comprehensive blocking of telemetry and other data collections?

12 Upvotes

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!


r/pihole 4d ago

List of known websites or domains that can be blacklisted in Pi-Hole

51 Upvotes

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?