Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
40 views

`nmap` showing different hostnames than expected

When I run nmap 192.168.1.*, I get a print out of all devices on my network. The hostnames are not what I expect. For example, the hostname of the Linux desktop (192.168.1.203) I am currently on is ...
Dylan Russell's user avatar
0 votes
1 answer
35 views

Have dnsmasq resolve multiple domains form local hostnames

I am running dnsmasq 2.90 inside a Debian 11.0 based docker container as part of Pi-hole 5.18.2. I would like to configure dnsmasq to serve the addresses of my local hostsnames for multiple local ...
Spritsail Arrow's user avatar
0 votes
0 answers
23 views

bind cannot resolve login.live.com

I am using pihole forwarding to bind as a local dns service. [root@server ~]# cat /etc/redhat-release CentOS Stream release 8 [root@server ~]# named -v BIND 9.11.36-RedHat-9.11.36-13.el8 (Extended ...
Olli's user avatar
  • 1
0 votes
0 answers
16 views

Mixed Loopback/Interface UDP request

I'm not sure if this is the most correct spot for this question, if not please let me know and I'll move it. This is my set up: pihole running in a rootless podman container using slirp4netns. The ...
John's user avatar
  • 1
0 votes
1 answer
276 views

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= ...
fooot's user avatar
  • 794
3 votes
1 answer
5k views

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 ...
Manius's user avatar
  • 171
1 vote
0 answers
125 views

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 ...
user3628960's user avatar
2 votes
0 answers
1k views

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. ...
marc's user avatar
  • 121
1 vote
1 answer
2k views

Disable systemd-resolved to free up port 53 and use DNS servers provided by dhcp

I will be running a Pi-hole server in a docker container, so I have freed up port 53 by settingDNSStubListener=no in /etc/systemd/resolved.conf and restarting systemd-resolved. This has freed up port ...
neildeadman's user avatar
0 votes
3 answers
928 views

isc-dhcp-server and pihole

I have two single board computers in my local network (Pine64 and nanoPI), which I use for various purposes. The latest thing I wanted to do with them is to have failover DHCP and DNS for my local ...
nobody's user avatar
  • 1,710
1 vote
1 answer
3k views

Eth0 Has two IP addresses

I have a Pihole with a fixed IP, 192.168.0.3. It works, and I can get to the GUI interface with that IP. Recently I noticed my router displaying alternating IP addresses for the Pi in its UI (the ...
square_eyes's user avatar
9 votes
2 answers
13k views

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 ...
RedPanda's user avatar
  • 193
0 votes
1 answer
337 views

UniFi + PiHole + Unbound -- Block specific sites by MAC address & Subnet

My general set up are several Ubiquiti Switches, APs, a UDMP, etc. I have multiple VLANs which ultimately intertwine with a PiHole and Unbound running on the same VM on a Dell PowerEdge R420. I have ...
CDub's user avatar
  • 101
0 votes
1 answer
483 views

Raspberry pi 4 + share wifi to ethernet + pi hole

I want to setup my raspberry pi 4 like this: Raspberry connect to wifi and share network to second router throught ethernet Run pi hole I searched the internet to find out if it was possible to do ...
hgxvtml's user avatar
0 votes
1 answer
602 views

Prevent generating resolv.conf on Ubuntu

I have installed Pihole in docker for my Ubuntu 18.04 (btw.Jetpack for Jetson Nano) and there was an instructions: Delete the symlink /etc/resolv.conf rm /etc/resolv.conf Restart network-manager sudo ...
Marcel Kopera's user avatar
1 vote
0 answers
1k views

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 ...
Tchupy's user avatar
  • 13
0 votes
2 answers
445 views

unable to install pi-hole from AUR on Arch ARM

I'm running Arch ARM on my RasPi and wanted to install pi-hole. I found https://aur.archlinux.org/packages/pi-hole-server/ in the AUR, cloned it requires a few dependecies it cannot install by itself. ...
BitFreak's user avatar
  • 225
2 votes
2 answers
3k views

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 ...
David Young's user avatar
1 vote
0 answers
43 views

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. (...
maxm's user avatar
  • 111
0 votes
0 answers
412 views

Accidentally installed pi hole on my main web server, then uninstalled it and now apache will not start

I did something stupid today without thinking. I have a headless home server running Ubuntu Server LTS 18.04. I also have apache running, and several websites that I access only inside my home ...
BrokenCode's user avatar
2 votes
1 answer
3k views

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 ...
Rabarberski's user avatar
1 vote
1 answer
534 views

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 ...
andrew997's user avatar
0 votes
1 answer
854 views

OpenVPN connection prevents apache website from loading on VPN clients

I have a VPS running Ubuntu 19. The VPS is configured as follows: OpenVPN server on port 443 OpenVPN has port-share with 4343 Apache2 web server listening on 80 and 4343 (for SSL) OpenVPN DNS traffic ...
donkey's user avatar
  • 101
0 votes
0 answers
356 views

PiHole issues with dual band routers

I have a raspberry pi running pihole as an adblocker AND dhcp server, and a dual band router with two discrete signals send out {ssid1.2G and ssid2.5G} When the pihole dhcp service is on, my laptop (...
Petaflop's user avatar
1 vote
1 answer
672 views

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 ...
Tony Stark's user avatar
0 votes
1 answer
289 views

Device has no access to gateway, but gateway is visibile/pingable

I have on my home LAN network my home router set up as gateway and few clients. One client (orangepipc) works also like DNS resolver with installed PiHole. on the gateway(192.168.11.1) is DHCP server, ...
Bendik's user avatar
  • 1
0 votes
2 answers
7k views

Pi-Hole Redirecting Domain to IP [closed]

I have a domain that points to the external IP of my webserver. I set up a Pi-Hole server and changed my network settings to use it, and I've verified it is working. I want to redirect the URL of my ...
Thunder-Chaser's user avatar
4 votes
1 answer
9k views

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 ...
Bontano's user avatar
  • 61
20 votes
3 answers
72k views

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, ...
Mike S's user avatar
  • 2,552
3 votes
2 answers
4k views

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 ...
Kutsubato's user avatar