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
126
 
 
The original post: /r/pihole by /u/EffectiveRelation132 on 2024-10-28 04:50:42.

Hope someone can help, Im out of my depth here!

Ive been running this architecture:

ISP -- [NBN Modem] --ethernet--> [Google Wifi Router] --ethernet--> [switch] --ethernet-->[PiHole]

and also using Pihole for my LAN DHCP server successfully for 2 years

Now i need to setup for remote access of a NVR, understand need to enable DDNS and open a port etc but how do i do this on this with my network architecture?

Assume ISP router needs the DDNS? or is this done on pihole as this is the DHCP server for my LAN (which is behind ISP router though).

will it pass remote access through ISP router (DHCP active) > Google router (DHCP set to single IP - Pihole) > Pihole DHCP active > NVR (fixed IP)?

how can i ensure the network remains secure? prefer to use Pihole as the main admin portal for DHCP and DNS if possible.

Thanks in advance (dont really know what im doing)

127
 
 
The original post: /r/pihole by /u/Pijudo_Sennin on 2024-10-27 21:37:48.

Hello, how are you? So, I bought a Raspberry Pi Zero 2W for my brother. My idea is to install Pi-hole on it. But I have the problem that we live in different cities.

My main issue is that I don’t know his Wi-Fi network well, only that his security looks like mine since we configured it at the same time, same security (wpa2).

With mine, it was very simple because I managed to make it work without problems. I’m referring to my home. Lately, it’s been causing me stress and is very frustrating. So I would like to ask for your help. I want to know what I might be doing wrong or what I might be missing. I’ve already tried many things. I configured the supplicant on the Raspberry Pi. I’ve done many things. But it still doesn’t work. I still can’t see the IP. I can’t even see it from his router. At one point, I assigned it a static IP, of course, ending in 200. And on my PC, I managed to make it work without issues. In short, if you want to ask me what else I’ve done, I’m here to answer. And I’d also like you to tell me what, if possible, I might be doing wrong.

Thank you very much, everyone. Sorry for taking up your time.

  • I want to add that I never had any issues with pihole, with or without docker.
128
 
 
The original post: /r/pihole by /u/Be-mused on 2024-10-27 20:55:58.

Yesterday I installed Pi-hole on a Raspberry Pi model B that I purchased around 2012-2013. Worked beautifully, so far I'm seeing no problems with using it at ll. Love the fact that I have a useful resource on my network that was something previously considered old and useless!

129
 
 
The original post: /r/pihole by /u/Madmartigan1 on 2024-10-27 19:06:09.

 [✗] Retrieval of supported OS list failed. dig failed with return code 10.
      Unable to determine if the detected OS (Debian 10) is supported
      Possible causes for this include:
        - Firewall blocking certain DNS lookups from Pi-hole device
        - ns1.pi-hole.net being blocked (required to obtain TXT record from versions.pi-hole.net containing supported operating systems)
        - Other internet connectivity issues

      https://docs.pi-hole.net/main/prerequisites/#supported-operating-systems

      If you wish to attempt to continue anyway, you can try one of the following commands to skip this check:

      e.g: If you are seeing this message on a fresh install, you can run:
             curl -sSL https://install.pi-hole.net | sudo PIHOLE_SKIP_OS_CHECK=true bash

           If you are seeing this message after having run pihole -up:
             sudo PIHOLE_SKIP_OS_CHECK=true pihole -r
           (In this case, your previous run of pihole -up will have already updated the local repository)

      It is possible that the installation will still fail at this stage due to an unsupported configuration.
      If that is the case, you can feel free to ask the community on Discourse with the Community Help category:
      https://discourse.pi-hole.net/c/bugs-problems-issues/community-help/

  Unable to complete update, please contact Pi-hole Support

130
 
 
The original post: /r/pihole by /u/javierguzmandev on 2024-10-27 17:08:28.

Hello all,

I have successfully made Pihole work on Docker with host network mode within my Synology NAS. My router is now giving all my devices my NAS's IP as DNS (192.168.1.2) and if I do a nslookup it works ok returning this IP.

However, I have other containers running on NAS in bridge mode, for example, uptime kuma and I'm not able to get the DNS work within those containers. My understanding is that bridge mode are isolated networks, however, I would have thought there is a way to make communicate with the host, at least for the dns. I mean, if I don't specify anything in a docker bridge mode, am not using the host's dns automatically? Is there a way to make this work in an easy way?

My pihole compose:

version: '3.7'

services: pihole: container_name: pihole-dns image: pihole/pihole:2024.07.0 hostname: pi.hole restart: always network_mode: host dns: - 127.0.0.1 - 1.1.1.1 environment: - WEB_PORT=8080 - WEBPASSWORD=blablabla - WEB_BIND_ADDR=192.168.1.2 - TZ=Europe/Madrid - DNSMASQ_USER=root - DNSMASQ_LISTENING=local - FTLCONF_LOCAL_IPV4=192.168.1.2 volumes: - /volume1/docker/pihole/dnsmasq.d:/etc/dnsmasq.d - /volume1/docker/pihole/pihole:/etc/pihole


I run uptime kuma with something similar to this:

docker run -d --name=uptime_kuma
-p 3444:3001
-e TZ=Europe/Madrid
--network custom_network
-v /volume1/docker/uptimekuma:/app/data
-v /var/run/docker.sock:/var/run/docker.sock
--restart always
louislam/uptime-kuma


I would appreciate any clue or hint about this. Thank you in advance and regards

131
 
 
The original post: /r/pihole by /u/_Arelian on 2024-10-13 15:56:05.

I have a raspberry pi with pihole and nginx proxy manager on it, I am looking for a way to make the pinhole service available with my domain not just the web UI, is there a way to do this? I know that pihole uses other ports like 67 and 53 but I am unable to link the three ports in the domain.

Any guidance that you can give me?

132
1
Install help (zerobytes.monster)
submitted 1 month ago by [email protected] to c/[email protected]
 
 
The original post: /r/pihole by /u/Erlays on 2024-10-13 14:03:58.

I am setting up a new pihole on a pi zero 2 w.

I am following instructions on the official installation website, but the install is failing. I did two other ones last week and they worked fine. I update the os and repositories.

It’s looks like some of the mirrors are down and can’t install some of the required utilities. Anyone else having issues? Or is this on my end?

133
 
 
The original post: /r/pihole by /u/phoenix_73 on 2024-10-13 08:50:46.

Hello everyone,

Just wondering if anyone can help me please, with securing my Pi-hole and PiVPN instance running in the cloud.

I have some already where there are panels with the provider, and so I can set firewall rules, but then there are other providers that operate with all ports open and you're to do it yourself on the virtual machine.

I understand iptables can be used to secure my machine.

So for example, default rule, everything inbound should be blocked EXCEPT for port 22 so I can SSH to it but from specific IP addresses, port 80 to be accessible from specific IP addresses, and then ports 51820 and 1194 UDP to be accessible from anywhere as that would be how I'd let clients connect and then use Pi-hole.

As it stands, web interface can be accessed and SSH without those restrictions in place. I just want to lock it down so it can be accessed from only two or three known IP's which are actually my other instances I have in cloud and are locked down.

The Pi-hole is set to only allow local traffic for DNS queries as well, and with knowing port 53 is not blocked.

134
 
 
The original post: /r/pihole by /u/gw2eha876fhjgrd7mkl on 2024-10-13 03:16:02.

not sure if i cab ask this, dont want to intentionally piss people off....

a lot of ads are making it past my pi-hole (stock pi-hole setup running on a pi 1 256mb ram version)

lots of ads on tiktok, youtube, and pinterest.

am i expecting too much out of pi-hole? is it not able to block ads in apps using an API?

135
 
 
The original post: /r/pihole by /u/johnnydotexe on 2024-10-12 21:53:24.

Edit: Resolved. In pihole web UI > settings > privacy, it was set to anonymous which effectively disables the web UI query log. Changed that setting to show everything, query log now works.

Just deployed a new pi5 for pihole and unifi controller, made sure to take a teleporter backup before the swap and restored that to the new pihole install.

In the new pihole install, query log is empty but dashboard indicates pihole is working. At the time of writing there are 242 queries and counting, 12 of which were blocked.

I have no idea what the deal is or how to fix it. This is setup exactly the same way as it was on the old pi4. The pi5 is re-using the same IP, and 127.0.0.1 for DNS.

Any ideas?

136
 
 
The original post: /r/pihole by /u/eed00 on 2024-10-12 18:12:34.

Hi everyone, I am new to self-hosting a pi-hole, and have enjoyed it a lot so far.

However, since installing it and setting pi-hole as my DHCP (turning off the router's own DHCP), I have been unable to let devices 'speak' to each other over the local network

Using KDE Connect, my laptop and phone have been unable to find each other since setting pi-hole as DHCP.

Similarly, with Localsend, devices can see each other, but are unable to send files complaining of 'no route found'.

Below are my DHCP settings, and both devices I am trying to connect are listed under "Currently active DHCP leases" (cut out from the screenshot).

Have I maybe made any mistake in configuring my pi-hole?

The router's admin page is 192.168.0.1 for me

Any tip will be greatly appreciated!

https://preview.redd.it/651yjx329dud1.png?width=2198&format=png&auto=webp&s=46bc0a49646eafe451c92342e9a94d562d7dbeef

137
 
 
The original post: /r/pihole by /u/JamSa on 2024-10-12 16:34:17.

I've changed my router DNS to the Pi's to get DHCP automatically working with Pihole, but it's both not connecting to pihole or the internet at all, with the network being active but saying "Connected: no internet".

I know it's the right IP because if I go to (ip)/admin in my browser I get to the pin hole web UI, and i know the Pi and Pihole are active for the same reason, so what's causing the connection failure?

138
 
 
The original post: /r/pihole by /u/Giyann on 2024-10-12 13:17:48.

If i use pi zero w(wireless yeh) will it decrease my wifi range and which slow down my Internet ?

139
 
 
The original post: /r/pihole by /u/JamSa on 2024-10-12 12:30:41.

I have my Pihole running and it's not receiving queries from any of my devices, according to the admin dashboard. I set its static ip to 192.168.1.174 and went into my router and set DHCP primary to that IP and windows properties says the DNS server is still 192.168.1.1. I go into my PC's wifi settings and change my wifi from DHCP to manual and it still says the IP address is 192.168.1.1.

https://preview.redd.it/k8vmor8dkbud1.png?width=1296&format=png&auto=webp&s=5bec8deb3aa0f06c97bdf038b0ebb9ead089f3e1

Am I doing something wrong here? Why is changing my DNS seemingly impossible?

Edit: Solved. I had rebind protection on, and there was a poorly labeled option that gave me the ability to turn it off.

140
 
 
The original post: /r/pihole by /u/gelekoplamp on 2024-10-12 06:27:50.

It’s one of those apps where you instantly love the effort the developer has taken. Right up there with Apollo and Reeder in my all-time top-3.

Happy user since v1.0

141
 
 
The original post: /r/pihole by /u/msalad on 2024-10-12 03:39:33.

Sorry for the awkward title phrasing.

I upgraded from gigabit to 2 gigabit fiber internet today. My pihole is running on my server in docker. No issues in the past when downloading at full line speed on my gaming PC.

Now, when using my pihole for DNS on my gaming PC, when I download a large Steam game on that gaming PC (sustained 175-225 MB/s), I lose all internet connectivity after a few minutes. Only fix seems to be removing my pihole as the DNS server, setting it to Cloudflare or similar, and then disabling+re-enabling my network adapter.

This doesn't happen on my gaming PC when I'm using a different DNS server than my pihole and it didn't happen before upgrading to my 2 gig connection

Pihole is running on my very beefy server with a Threadripper Pro 3975wx CPU so I can't see it being a case of my hardware being underpowered.

Where do I begin to diagnose this?

142
 
 
The original post: /r/pihole by /u/JamSa on 2024-10-11 21:12:15.

If I look in pihole admin, it only has itself and my PC which I apparently managed to connect to it for a minute. I have no idea why it stopped but I can't do that anymore. I went into my router settings and changed the DNS settings to my Pi's IP, and that doesn't work, it's not even changed my wifi's DNS settings for some reason. If I manually change the DNS server of my device to the Pi's IP address and it still doesnt appear as a connected client, so I don't know where I'm going wrong here.

143
 
 
The original post: /r/pihole by /u/HelplesslyPuzzled on 2024-10-11 19:28:41.

Hello!

I have Homepage dashboard setup and I have a pihole widget. For the widget to get information properly I need an API key. Not a problem, I know where to get it in the web GUI. Problem is, since I have an SSO configured for my services I disabled the web admin password using pihole -a -p . I have tried to read through many posts already.

I understand that the API key is just the hashed password.

That being said. Is there anyway to generate an API key for like a service user? or generate a key without needing to set a web admin password?

Sure, I could set a web admin password but that kind of defeats the purpose of an SSO.

Thanks!

144
 
 
The original post: /r/pihole by /u/JamSa on 2024-10-11 18:21:51.

I just set up a raspbery pi for the first time today, I have the Pi Zero W, and it's running Pi OS. I got everything booted, connected to my network, and updated so I went to install pihole via the command line.

I call

curl -sSL https://install.pi-hole.net | bash

And I get the error "html: no such file or directory"

I call

git clone --depth 1  Pi-holehttps://github.com/pi-hole/pi-hole.git

and I get the error "fatal: repositiory not found".

What am i doing wrong? Why are the repo's instructions not working?

145
 
 
The original post: /r/pihole by /u/CMos902 on 2024-10-11 13:51:36.
146
 
 
The original post: /r/pihole by /u/SudoMason on 2024-10-11 11:46:19.

Hi,

I just set up IPv6 on my router and I do have an IPv6 address but for some reason on dnscheck.tools I see this? How would I go about sorting this out? Is this an unbound issue? I set up my pihole and unbound, both on dietpi.

Advice is appreciated. Thank you.

https://preview.redd.it/1a60d66674ud1.png?width=539&format=png&auto=webp&s=08299a3f83255bdd2a117fa32c6c81170c33f220

147
 
 
The original post: /r/pihole by /u/Robert_the_bruce666 on 2024-10-11 11:00:42.

Is Pihole able to Block Google Ads and In-App-Ads on Android devices? How?

148
 
 
The original post: /r/pihole by /u/Tinferbrains on 2024-10-11 01:16:08.

I've got a kid who's about at that point where he's gonna start googling things he shouldn't. I have a large porn blocklist in my pihole but if the kid wise up and uses incognito mode it won't make a difference. Is there a way to run that traffic through the pihole too?

149
 
 
The original post: /r/pihole by /u/cambeiu on 2024-10-10 23:43:05.

Hi,

I currently volunteer at a school for refugee children in Southeast Asia. We rely heavily on tablets and very specific educational sites and mobile apps to help teach the kids English. One of the major challenges we face is trying to restrict access so that the kids can ONLY get to these approved sites and mobile apps. we looked at some paid solutions but they are completely outside of the budget realities of our school.

So I thought about Pi-hole as a possible alternative. Is there any way we can configure Pi-hole to block EVERY DOMAIN except our whitelisted ones? I ask because a blacklist does not work for us, since the kids will pretty much go anywhere they can to get distracted, so a whitelist approach is the only solution for us.

Thanks in advance for the help.

150
 
 
The original post: /r/pihole by /u/insignifcanthumam on 2024-10-10 23:38:04.

Hello folks. I'm very new to the networking and Pi mini server world.

I've a few old Raspberry Pi 3B models and recently followed a guide to install RaspiOS Lite 64 bit then Pi-Hole and unbound onto it. It works a treat.

I'd like to set up the same Pi as a VPN server so I can still take advantage of Pi-Hole when I'm not at home.

What Pi based VPNs do people recommend for this? Will I need to start again and install Docker first then put Pi-Hole etc into containers or can I run the VPN on RaspiOS alongside unbound and Pi-Hole without docker? (I'd rather avoid docker if I don't need it)

view more: ‹ prev next ›