Pi-hole is a Linux network-level advertisement and Internet tracker blocking application
Questions tagged [pihole]
37 questions
2
votes
2 answers
Traefik won't add prefix
I'm trying to set up my first homelab.
I've already got a few services running as docker-containers and also got Traefik working with them.
I now want to do the same with my PiHole instance. I've got it working so that I can access the dashboard by…

lkrimphove
- 229
- 2
- 7
2
votes
1 answer
Port mapping in docker container with multiple networks
Having used docker on multiple occasions, I am familiar with the concepts of docker networks and port mapping. However, I haven't found any case online where you'd want to mix those two. Hopefully there are ppl who can help me out.
I use Traefik in…

Jurian Sluiman
- 13,498
- 3
- 67
- 99
1
vote
1 answer
Nginx in a local network "Directory index of /var/www/html/ is forbidden" (moode, pihole)
I'm trying to run Moode and PiHole on a Raspberry Pi (4 & 3B+) in my local network. Moode is running fine and I can access it via moode.local in my home network. Trying to access the pihole site via moode.local:8080 always results in *[error]…

Thomas
- 41
- 3
1
vote
0 answers
macOS and podman, port 53 issue
I am trying to run Pi-hole in a podman container on macOS:
podman machine init
podman machine set --rootful=true
podman machine start
podman run -d --name=pihole --restart always -e TZ=Europe/Zurich -e WEBPASSWORD=admin -e…

excelsior_ink
- 21
- 2
1
vote
0 answers
Fetch portainer templates blocked by unbound
I'm using portainer to manage my docker containers on my raspberry pi.
I have also setup pi-hole and unbound.
When I try to fetch portainer templates, I get a 500: Unable to retrieve templates via the network
with details:
Get…

Madriesen
- 498
- 2
- 8
- 22
1
vote
1 answer
kubectl patch returning service not found
I have deployed pihole on my k3s cluster using this helm chart https://github.com/MoJo2600/pihole-kubernetes.
(I used this tutorial)
I now have my services but they dont have external IPs:
NAME TYPE CLUSTER-IP EXTERNAL-IP …

vince
- 765
- 3
- 14
1
vote
1 answer
fetch returns empty body, json works, but plain text doesn't
I am trying to create a function which return the latest blocked domain from my pihole server.
I first created a JSON call, since the first call I needed was in JSON format, this is all working and I get the data needed.
However, the second function…

HDIK
- 33
- 6
1
vote
3 answers
Block Youtube ads
I'm trying to block the annoying youtube ads with pihole but unfortunately it doesn't work for me. The following is not viewed at all:
(rr[\d]{1}---[\s]{2}-[\s]{8}-[\w]{4})\.googlevideo\.com
Has anyone had similar experiences?
Examples look like…

allstar_141
- 43
- 1
- 1
- 8
1
vote
1 answer
Case doesn't work when examining tail output
I can't find the reasons why my case statement doesn't work when looking tail output.
tail -F -n1 /var/log/pihole.log |
while read input; do
echo "$input" | hexdump -C # just to physically compare the output
case $input in
…

lz_linux
- 13
- 3
1
vote
0 answers
I get an error when I try to run Pihole on Docker in Windows
I have a problem with Docker. I wanted to run this command in cmd and also Windows-Powershell.
docker run -d --name pihole -e ServerIP=192.168.178.20 -e WEBPASSWORD=XXX -e TZ=Europe/Berlin -e DNS1=172.17.0.1 -e DNS2=1.1.1.1 -e DNS3=192.168.178.1 - p…

Lorenz
- 11
- 1
1
vote
0 answers
Pihole + Unbound in Docker Container
I have a raspberry pi 4 with ARMv7 Processor rev 3 (v7l). I have been trying for days to find a solution to have pihole and unbound with DNS over TLS in docker containers.
Since I do not have much experience in dockers (please be lenient) I found…

George Wright
- 61
- 1
- 10
1
vote
1 answer
Run multiple DNS servers with pi-hole and docker
Setup
I have a Unifi Home Setup with multiple Wifi Networks set up and a RaspberryPi with Arch to take care of DNS filtering.
Goals
I want to run multiple DNS Servers on the Raspberry Pi and direct the different Wifis to different DNS. To this end I…

Phteven
- 161
- 2
- 10
1
vote
0 answers
Signal connection timed out when over VPN
I've a raspberrypi with pihole and wireguard installed. Pihole works fine, same for wireguard except Signal Messenger for Android. When I'm connected over VPN I always get a timeout.
java.net.ConnectException: Failed to connect to /192.168.210.1…

Ink. Hulk
- 11
- 1
0
votes
0 answers
Dash plotly Geolocation issue when local hosting with vpn
I am running a pivpn server on my local network to access my other rpi running my dash app (though app.run_server). The pivpn server also uses pi-hole (on the same rpi) as a dns resolver.
The dash app uses dcc.Geolocation, which turns out is…

user31907
- 43
- 1
- 3
0
votes
0 answers
How to add an ipvlan (l3) to pihole's yaml manifest?
I hope all of you are doing fine! I have a litle problem with "yaml"file. How can I add my ipvlan (l3= layer3) to pihole's yml manifest?
I did this but it didn't work
networks: ipvlan_network: external: name: my-ipvlan-l3