Questions tagged [pi-hole]

Questions pertaining to the Pi-Hole DNS sinkhole & server, useful in blocking advertisements in a LAN setting, by resolving queries which are on blacklists to unroutable IPs.

Pi-Hole typically runs on a dedicated appliance type of hardware, such as, a Raspberry Pi. It uses dnsmasq as its backend DNS server, and can be managed via SSH'ing into the device using the CLI tools. It can also be managed from its own web UI.

Further reading

27 questions
19
votes
3 answers

How to get Pi-Hole to work with IPv6?

At home I have installed Pi-Hole on a Fedora 28 machine, and it is now working properly serving IPv4 addresses via DHCP, acting as the DNS server, and blocking IPv4 addresses as appropriate. However, it seems to be failing to block IPv6 addresses.…
Mike S
  • 2,432
  • 2
  • 17
  • 29
8
votes
2 answers

Docker container DNS not working with pihole

I'm currently working on a little home project where i host various services on a raspberry pi 4 via docker. While working on this project i now encountered a dns problem which i can't really get my head around. I'm hosting pihole inside a container…
RedPanda
  • 183
  • 1
  • 5
4
votes
1 answer

SELinux policy for Pi-Hole

I am running Fedora Server 28 for ARM on my Raspberry and during the installation of Pi-Hole I got a warning message about SELinux being set to 'Enforced' and that because of it I cannot use Pi-Hole's admin page. That is indeed the case,…
Bontano
  • 61
  • 1
  • 5
3
votes
1 answer

Pihole warning elaboration: "reducing DNS packet size for nameserver ADDRESS to SAFE_PKTSZ"

Could anyone elaborate a little on this warning? Reading the unbound comment it references, I guess it's some configuration in place for security reasons (?), but I'm not clear on what the tradeoffs really are if you "get rid of" this warning by…
Manius
  • 171
  • 1
  • 7
3
votes
2 answers

Install Pi-Hole without user interaction?

I would like to install Pi-Hole automatically inside Vagrant (VirtualBox).  Therefore, in an automated script, it has to run to box start.  Unfortunately, normally, you have to answer multiple installation questions to install Pi-Hole, e.g., IPv4…
Kutsubato
  • 85
  • 1
  • 8
2
votes
0 answers

Debian, docker, macvlan and static IPv6

Problem I am trying to setup a local DNS server (pihole) inside a docker container on my debian 11 server in my home network with a static IPv6, such that I can point all lookups from my router to it. What I have so far As this is a home network,…
marc
  • 121
  • 3
2
votes
2 answers

DNS lookup against PiHole fails for local hostnames on 20.04 (works on other systems)

External DNS lookups work without issues, but anything for a non-FQ domain (i.e. only the hostname portion) fails unless I explicitly force it to use the PiHole to resolve it. nslookup myhost # this fails with SERVFAIL nslookup myhost 192.168.12.34…
David Young
  • 220
  • 1
  • 4
  • 9
2
votes
1 answer

How to start a systemd service when (local) DNS resolution is ready?

How can I configure a custom systemd service to start only after DNS resolution is ready to be handled? The service is a oneshot script that mails me the current WAN and LAN ip addresses of the device, just after booting. It used to work, but…
Rabarberski
  • 201
  • 1
  • 8
1
vote
0 answers

Docker expose port only to VPN

I'm setting up a DNS filter using Pi-Hole and OpenVPN on a VPS. Pi-hole is running in a Docker container and exposes port 80 for its web interface. How do I expose this port only to traffic originating from the VPN (10.0.8.0/24), and not to the…
1
vote
0 answers

Debian static IPv6 address, RA & DNS issues

I try to configure static IPv6 on my Debian Stretch machine (RaspberryPi with Pi Hole) but I have various issues I cannot handle. My dhcpcd.conf file : # Generate SLAAC address using the Hardware Address of the interface #slaac hwaddr # OR generate…
Tchupy
  • 13
  • 2
1
vote
0 answers

Is it possible to implement path-aware https blocking with MITM

The popular pi-hole uses DNS to block certain hosts from showing ads. It seems, that as a response, lots of content providers have started hosting ads from the same host they serve content from. (instagram.com, most amp sites, etc...). Would it be…
maxm
  • 111
  • 5
1
vote
1 answer

How to block traffic from one subnet to another *except* for one location

I'm using DD-WRT on my home router and I'm using a Pi-Hole for the DNS server. The main network is 192.168.1.0/24. The default route is .1.1 and the Pi-Hole is sitting at .1.2 (static). I've created a guest network of 192.168.2.0/24. I want to…
andrew997
  • 11
  • 1
1
vote
1 answer

Pi Hole DNS not working after configuring Wireless Access Point on Arch Linux in Bridge Mode on Raspberry Pi

I'm experimenting with a Raspberry Pi 3 Model B (running arch linux) and its WLAN module. Until today I had Pi Hole running on it for my entire network. The Pi stands where we have very poor Wifi reception for mobile phones so I decided to add Wifi…
Tony Stark
  • 363
  • 1
  • 2
  • 7
0
votes
1 answer

Pi Hole ignoring rate limiting settings

I'm having issues getting my Pi Hole to respect rate limiting settings. After some investigation I noticed that the values under Settings - DNS were going into the pihole-FTL.conf file as RATE_LIMIT= but looking at the logs on startup the…
fooot
  • 774
  • 7
  • 16
0
votes
0 answers

PiHole running in docker cannot reply IPv6 connections from ULA address

After reading few guides on how to setup PiHole with docker and IPv6 I tried to do it in my network. First things first, my ISP provides me with a Prefix Delegation which is then used to provide addresses to the rest of the network though router…
jtimz
  • 101
  • 1
  • 1
1
2