Questions tagged [pihole]

Pi-hole is a collection of scripts to enable network-based blocking of advertisements.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

ufw forward rule isn't working: connection refused

I'm running a Raspberry Pi and I'm trying to get Pi-hole working. I'm running the container from Podman from a newly created pi-hole user (non root). I published the ports as follows: - 127.0.0.1:5053:...
Thomas Kleinendorst's user avatar
1 vote
0 answers
23 views

How do I configure Pi-Hole to serve 192.168.0.0/16

Situation: A standard install of Pi-Hole on a VM under Proxmox running on 192.168.1.2. Versions are Pi-Hole v5.18.2 FTL v5.25.1 Web Interface v5.21, under Ubuntu 22.04. For the address space 192.168.1....
Ian's user avatar
  • 181
0 votes
0 answers
41 views

How to configure my Asus GT-AX11000 router to source all DNS queries from my pihole?

I want my home LAN to direct all DNS queries to my pihole by configuring my Asus GT-AX11000 router to use my pihole machine as the sole DNS. I tried following https://www.asus.com/support/faq/1046062/...
swv's user avatar
  • 257
0 votes
1 answer
24 views

pihole - Can I call a local top level domain name anything?

Possibly a stupid question, but I am setting up pihole on my home network. I am sure it has been asked before but searching didn't yield any relevant results, Maybe just the way I asked. I added some ....
unsafe_where_true's user avatar
0 votes
1 answer
77 views

Pihole in a IPv6 setup: How to reliable distinguish certain clients for them to be grouped?

In my local home network, I want to have IPv4 and IPv6. I want to use my pihole as primary DNS. I furthermore want to group clients so that certain devices can bypass the blocklist and issue their ...
k0pernikus's user avatar
  • 2,158
0 votes
1 answer
267 views

Wireguard VPN not working on FRITZ!Box After DNS Route Changes

I'm seeking assistance with troubleshooting a connectivity issue that arose after configuring Pi-Hole and DNS settings on my network. Here's a detailed overview of my setup and the problem: Network ...
FledDev's user avatar
  • 101
0 votes
1 answer
196 views

Trying to run Pi-hole as a DHCP server in Docker but lighttpd service conflicts on port 80 with OctoPrint

I need help setting up Pi-Hole in Docker running alongside OctoPrint in Docker. I did the initial setup for Pi-Hole in Docker: Pulled the Pi-Hole container Ran the following bash script: #!/bin/bash ...
Gigoiy's user avatar
  • 1
1 vote
0 answers
551 views

How to prevent Windows 11 client bypassing pi-hole?

I have set up a pi-hole. It is running and reachable on my LAN via IP4 at 192.168.178.53. On my router I made its address static, it always gets the same address. My router also announces this DNS ...
k0pernikus's user avatar
  • 2,158
0 votes
1 answer
1k views

Pi-hole logging with client names

Situation I am using Pihole in a network with a google wifi router. The router (...1.1) is configured to use the Pihole server (...1.220) for DNS lookup, and all is working as wanted. So far, so good. ...
ElRudi's user avatar
  • 424
0 votes
0 answers
245 views

Unbound not resolving some domain regions

My RaspberryPi with PiHole and Unbound worked for years but since around 2 weeks ago some domain regions are not being resolved consistently. Domains ending on .ar, .co and .mx are not getting ...
David's user avatar
  • 1
0 votes
0 answers
248 views

PiHole with Recursive DNS not Handshaking with Wireguard setup via PiVPN

Expected Behaviour: I've set my Router to use my PiHole along with Wireguard to use it as a VPN. I've set it up using PIVPN and some tutorials on Youtube. I have included Screenshots of my router and ...
Jacob Anderson's user avatar
0 votes
1 answer
145 views

Setup LocalCDN or similar CDN replacer to run locally network-wide

Big companies like Google, Akamai, Cloudflare, are likely suspects when it comes to tracking, and fingerprinting is a big issue that most people don't know about it. If you have large companies ...
tutacat's user avatar
  • 25
1 vote
1 answer
278 views

Mac Ventura 13.4 DNS split-horizon - ping doesn't work but dig does

What's the problem: dig, nslookup can resolve domains using PiHole dns server ping, browser etc. can't What I tried to do: reboot :d flush cache (sudo dscacheutil -flushcache; sudo killall -HUP ...
ekamil's user avatar
  • 11
0 votes
0 answers
283 views

Why does my URL work locally, but not externally? Setup with Pi-Hole as local DNS and Apache reverse proxy to redirect to different service ports

I have a Pi-Hole and an Apache2 reverse proxy on a Raspberry Pi installed in my local network. My router uses this Pi-Hole as its DNS. Pi-Hole is configured as installed fresh, with the exception of ...
Grausiga's user avatar
0 votes
0 answers
739 views

Cannot access Fastly CDN websites - Intermittent SSL handshake failure

I have a small home network, with DNS running through a VM with Pi-Hole. A couple of days ago, a hard drive problem took down the machine running the VM, so I temporarily set my router (an UDM SE) to ...
Areku's user avatar
  • 1
0 votes
0 answers
199 views

Ubuntu/Docker stops routing UDP traffic for pihole

I recently setup a pihole container on Ubuntu Server 22.04 via a docker-compose.yml file with network_mode: 'host' so that the traffic can be correctly routed to the UDP services running inside the ...
AlwaysLearning's user avatar
0 votes
1 answer
674 views

Domains not being resolved using public DNS servers after usage of pihole/adguard

I am having issues on a client machine (Mac) accessing different sites, for instance reddit.com, after having used adguard/pihole in my local network on a raspberry pi. To resolve the issue I thought ...
Fab1n's user avatar
  • 121
3 votes
4 answers
2k views

Where should DNS and DHCP servers be located?

I’m setting up a homelab and I’m trying to figure out where the optimal location for the DNS and DHCP server (PiHole) is. The network is structured like this: The majority of devices on the network ...
Xkonti's user avatar
  • 33
0 votes
0 answers
2k views

Pi-hole on Docker on QNAP

I have installed a fresh Pi-hole container on the Container Station on a QNAP NAS running latest QTS. All goes well but when the container starts it appears that the Pi-hole versions are quite old (5....
Daniel K's user avatar
  • 1,074
0 votes
0 answers
525 views

PiHole and OpenVPN not working: tun0 doesn't even exist

I installed OpenVPN and PiHole. It works independently, but not together. I want to block stuff that comes through OpenVPN. I tried the official guide. But in my case (Ubuntu server for Pi), there is ...
User123456789's user avatar
1 vote
1 answer
6k views

How to set Pi-hole as my DNS server on a Wireguard client

I am trying to setup a Wireguard VPN on a remote Debian server and use Pi-hole on that same server. I installed both of them as Docker containers. For Wireguard I have used wg-easy and for Pi-hole I ...
Emperor_Udan's user avatar
4 votes
3 answers
29k views

How to verify that you're using DNS over HTTPS (DoH) with Quad9 / other non Cloudflare DNS providers

I'm using pihole with an upstream DNS server of Quad9 DoH. The upstream DNS and the pihole are configured with docker via a docker-compose.yml file, with the upstream DoH server using the cloudflared ...
SneakyShrike's user avatar
1 vote
3 answers
2k views

Is it possible to replace the DHCP and DNS functionality of your ISP router with a raspberry-pi/pi hole? (More specifically, does DHCP include DNS?)

I have a raspberry pi currently set up with Pi-Hole. Unfortunately, I cannot change the DNS settings on my ISP provided router (called a "Funbox 3.0"). It has a DNS tab with textboxes for &...
Dan Forever's user avatar
1 vote
2 answers
2k views

How do I stop my router from doing DNS resolutions?

I'm using a Pi-hole DNS server in my home network to block advertisements and malicious hosts. Here is my network configuration: My internal home network is on 192.168.34.xxx Network Gateway router (...
YD8877's user avatar
  • 131
0 votes
0 answers
272 views

How can I publish one of my devices as DNS server when using IPv6?

I run Pi hole, and I have a TP link router (Archer C6) with IPv6 capabilities. My ISP seams to supports this type of connection via "dynamic IP (SLAAC/DHCPv6)". I think I'm encountering kind ...
Roy Ash's user avatar
  • 123
0 votes
1 answer
2k views

Running PiHole with Apache2

I'm trying to install PiHole on my Raspberry Pi, but having some trouble configuring it. I currently use it as a reverse proxy to some webservers/applications running in my network. My main issue (I ...
zodac's user avatar
  • 103
0 votes
1 answer
410 views

Are there no DNS entries for static pi-hole dhcp hostnames?

A pi-hole instance is also acting as the DHCP server in my network. I assigned static IP addresses for some of my devices (eg. an octopi server with Hostname "octopi" and IP address "...
Bruno's user avatar
  • 41
0 votes
1 answer
695 views

What might explain this nslookup error from Windows 10 using pihole for local DNS?

The background is I am working through intermittent failures in pihole being used as a local DNS server, which I am running via Docker on my Macbook to enable my home lab of physical and virtual ...
learning2learn's user avatar
0 votes
1 answer
397 views

Unbound: dig domain.tld only workes sometimes?

I set up unbound as described in this instruction: https://docs.pi-hole.net/guides/dns/unbound/ To test unbound, I should use dig pi-hole.net @127.0.0.1 -p 5335 (gives ok as result) dig sigfail....
User123456789's user avatar
2 votes
1 answer
5k views

Unbound (with PiHole): Where is root.hints?

I installed unbound to use with pihole with this instruction: https://docs.pi-hole.net/guides/dns/unbound/ It says that I don't need to download root.hints, if I use apt install. Because it would ...
User123456789's user avatar
0 votes
1 answer
2k views

How do I route dns traffic through pihole?

I have been using my mikrotik with DoH since last year without any issues. So, I recently bought a raspberry pi for the purpose of blocking ads. My previous attempt of blocking ads with scripts in ...
Safiq Rahman's user avatar
1 vote
2 answers
883 views

Is it safe to use ARP Poisoning + DNS Spoofing for a PiHole instead of setting it as a DNS Server?

Let's say I have a techno-illiterate friend I would like to set up with a PiHole (DNS Blackhole). Would it be possible (and relatively secure) to configure a Raspberry Pi to be a plug and play device ...
Zino's user avatar
  • 13
1 vote
1 answer
168 views

Can't reach OpenVPN server over the internet

I'm struggling since quite some time to get my OpenVPN Server running on my raspberry-pi which already has PiHole running on it. The TLS key negotiation times out after 60 seconds and I don't know why....
Achery's user avatar
  • 21
1 vote
1 answer
573 views

How can I speed up page loading times with Brave browser and pi-hole?

I notice that the combination of Brave browser and a pi-hole slowed down several pages such that I have to wait 20-30 seconds before the page is loaded and usable. I tried the following to identify ...
Saaru Lindestøkke's user avatar
1 vote
1 answer
367 views

Does a router use a separate DNS for DHCP requests when using a Pi-hole?

I am setting up a Pi-hole on my home network. My router has two locations which list an option to set a DNS. By default, one of these spaces is filled with the address of the router itself (192.168.1....
S.Stevens's user avatar
  • 111
2 votes
0 answers
981 views

How to get Big Sur to respect local PiHole DNS configuration

I have a service running on a static IP within my LAN and PiHole specifies a domain name for that IP address. For example, my.server.com === 192.168.1.10. Prior to Big Sur, this worked fine. Now, ...
Michael Prescott's user avatar
0 votes
1 answer
76 views

Which application initiates network requests? Local DNS reports reqs to non-existing domains. [wireshark, macos, dns]

Summary: I see dozens of requests to non-existing domains and I suspect it slows down my network. Can't find the source. Full description: I use pihole as a DNS server, and both Wireshark and Little ...
zstolar's user avatar
  • 131
0 votes
0 answers
487 views

Google Wifi + PiHole: Redirecting DNS requests

Current setup involves 3 mesh google wifi devices + 1 Raspberry PI 1 B model running pihole. Most of the time it runs fines as it is, but I've noticed some devices (i.e. Chromebooks, chromecasts, etc) ...
AlvaroFG's user avatar
  • 101
2 votes
1 answer
2k views

Pi-hole seems to be blocking itself

I have a brand new install of a Pi-hole on a Raspberry PI on my LAN. I am running into a really funny problem - when I access the Pi-hole instance from my laptop using its domain name (pihole.lan) I ...
vivekv's user avatar
  • 161
0 votes
1 answer
181 views

DNS resolution error on only one device in LAN

I've encountered very intriguing behavior in my home LAN. One of my devices (main computer) refuses to work with my Pi-Hole (resolution error - it's like there was no DNS server configured at all). ...
Wojtek_B's user avatar
  • 121
1 vote
1 answer
896 views

Can a single Raspberry Pi serve as both a pi-hole and media server?

I need to add three functions to my home network: pi-hole media server (for music and video content) NAS (for shared storage) Can a single Raspberry Pi play all those roles?
Jonesome Reinstate Monica's user avatar
0 votes
1 answer
174 views

Clients fail to use Pi-Hole or Pi-Hole gets jumped over (a.k.a. oh noes ads show up)

I have an OpenWRT Router so I followed this tutorial to setup my Pi-Hole and router, so that all DNS traffic gets redirected as well. When I go to my Pi-Hole and under tab Network I see my device as ...
Sir Muffington's user avatar
1 vote
0 answers
133 views

Connecting to PiHole changes my computer's hostname?

I followed these instructions to create a VM in Google Cloud Platform that hosts PiHole (a DNS-based ad-blockign service) for me. To prevent the terrors of an open DNS provider, the PiHole is ...
Alexander's user avatar
  • 374
0 votes
1 answer
777 views

DHCP Server not reachable from Access Point

My Network Setup consist of two Routers, one LTE Router (Router 1) working as a Gateway to the Internet, the other one (Router 2) working as Access Point in order to expand the network accessibility. ...
Peter S's user avatar
  • 101
8 votes
1 answer
500 views

Pi-Hole 'invades' my landlord's network

Setup: I am a student living in a shared appartment with other students. My landlord lives in the same building and we all use his network (192.168.178.0/24) for internet access. I have my own subnet (...
user avatar
0 votes
0 answers
167 views

Raspberry PI : Pi-Hole with 2x ethernet unable to get eth1 traffic directed via pi-hole

So where do I start. well after about 20 attempts maybe 30hours I have decided to ask for help :( so what am I trying to do? Well, I have a raspberry pi with 1x onboard Ethernet which is eth0 and I ...
Matthew's user avatar
1 vote
0 answers
187 views

OpenVPN drops connection about once a day, logs indicate DNS failure

I have an old version of pfSense (2.3.2) running an OpenVPN client to a commercial server. Over the past few years, the OpenVPN connection has been dropping more frequently, and now it's about once ...
YetAnotherRandomUser's user avatar
0 votes
1 answer
2k views

Find which process is responsible for a DNS request

I started using Pi-hole recently to block ads on all home devices (including my Macbook). Looking at the logs today, I noticed many weird DNS requests originating from my Macbook to seemingly random ...
Hejazi's user avatar
  • 111
0 votes
1 answer
2k views

Combine pi-hole and nxfilter on 1 raspberry pi 4

Given I have a raspberry pi 4 with Raspbian Buster, I would like to combine pi-hole (for adblocking) and nxfilter (for parental controls). I could specify nxfilter as the upstream dns server for pi-...
JoDG's user avatar
  • 101
1 vote
1 answer
922 views

DNS leak for non-existent domains when using OpenVPN on a Windows client

I have a Windows client connected to a Wi-Fi hotspot: Wireless LAN adapter Wireless Network Connection 2: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Atheros ...
Duke Nukem's user avatar
  • 1,235