Skip Navigation

User banner
Pi-hole

Members
0
Posts
30
Created
3 yr. ago

The Pi-hole® is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software.

🌉 bridged from !pihole@sh.itjust.works by Tidepool

Pi-hole FTL v6.5, Web v6.4.1 and Core v6.4 Released!

Highlights Security fixes Two security vulnerabilities in the web interface have been patched in this release.

 
https://github.com/pi-hole/web/security/advisories/GHSA-6xp4-jw73-f4qp: fixed with d328f14
https://github.com/pi-hole/web/security/advisories/GHSA-8rw8-vjgp-rwj6: fixed with 1a0c6f4

Performance improvements Faster startup (FTL #2725) FTL now imports historical queries from the database asynchronously on startup. Previously, DNS resolution was blocked until the entire query history had been loaded into memory. Now, FTL begins accepting DNS queries immediately and imports history in a dedicated background thread. The garbage collector is held off until the import is complete to ensure data consistency. Low-memory hardware optimizations (FTL #2757) A new database.forceDisk configuration option forces FTL’s in-memory SQLite3 database to live on disk instead of in RAM. This can notably reduce FTL’s memory footprint, which is beneficial on resource-constrained hardware such as older Raspberry Pi models. On NVMe-backed systems no measurable performance difference was observed, though some slowdown may be seen on slower storage. Faster gravity updates (FTL #2710) Several cumulative efficiency gains have been applied to the main domain validation loop that runs during pihole -g. While each individual improvement is modest, they add up across every entry in your blocklists and allowlists:

 
A lookup table now validates domain characters using a single comparison per character, replacing multiple branching comparisons
IP address testing is short-circuited: IPv4 tests only run if the token starts with a digit, and IPv6 tests only run if a colon is present within the first 5 characters
The unicode BOM check is now performed once per file rather than once per line

In testing with ~5 million domains across several lists, gravity update time dropped from ~27s to ~23s (roughly a 16% reduction in real time, and ~22% reduction in CPU time).

pi-hole.net

Reoccurring brief DNS outages - where's the problem?

Lately my home internet service has been experiencing brief periods of failure and I'm trying to understand what the root problem is and if there's anything I can do to fix it.

I have two piholes running on my home network providing DNS service and blocking. Lately I've been encountering brief internet outages, approximately once a day for the last week. Work laptop disconnects from VPN saying no internet and other devices show no internet either. Cable modem doesn't show it's lost connection though, and logging into my router it shows it has internet connectivity. Trying to ping a website shows the dns resolution isn't working. I can ping by IP address but not name. The outage usually resolves itself in approx 5 minutes, sometimes a little longer.

My piholes are setup to use Google, Cloudflare and Open DNS for dns service so I'm puzzled how my dns resolution suddenly starts failing. In theory if one's down, it'll use the others right? So how am I experiencing a dns outage? Is this a problem with something outside my network or something internal, or is there anything else I should do to diagnose and fix it?

Using Docker, blocking works on host PC, but not other devices. What am I missing?

I'm trying to figure out how to set up Pi-hole for the first time and I think I'm doing something wrong, or missing some important step(s). I figured that using Docker would be the easiest way to get it running so I started with the sample yaml I found on the pi-hole/docker-pi-hole github page. Then I went to my router's DHCP settings and set the primary DNS to the host's IP (I'm not sure if that's the correct one to use though*). Eventually I was able to confirm that a site I blocked was blocked when visiting it from the host PC, but my phone and other devices on my network could still visit the site. Then I tried copying the same IP to the secondary DNS, but then I could no longer access the internet on other devices. I also tried disabling the router's DHCP server to use Pi-hole instead. I used the same default gateway IP I found in the router's settings, but I lost internet on the other devices with that as well. I know very little about configuring network stuff so I'm not sure what I might've done wrong. *I also tried using the IP address I found in the Pi-hole's system information section as the primary DNS, but then the site I blacklisted was no longer getting blocked on the host machine.

Blocking Roku ads on my pihole

I have a pihole server on my network. It used to block the ads on my roku's homescreen and only empty placeholders would show up.

I bought a new Roku player and it doesn't seem to have any of the ads on the homescreen blocked by the pihole. Configuring the "secret menus" doesn't really do anything, as far as I can tell.

Does anyone have any updated methods for blocking ads on the Roku homescreen?

SOLVED

One of my blocklists is not working

SOLVED: After examining the output of pihole -g again I noticed [✓] Parsed 3 exact domains and 0 ABP-style domains (blocking, ignored 1467 non-domain entries) I investigated the link ans saw I accidentally gave the github link instead of the raw file, I changed https://github.com/autinerd/anti-axelspringer-hosts/blob/master/axelspringer-hosts to https://raw.githubusercontent.com/autinerd/anti-axelspringer-hosts/refs/heads/master/axelspringer-hosts and now it works! I set up my first pi hole yesterday! However I am running into a minor problem, some queries are not blocked. I have two lists configured: • first one if for blocking services related to facebook • the second one is for blocking websites related to Axel Springer Media, which is a far right news agency in Germany Both of them are assigned to the "Extra" group, a group which I created for known devices in my network. I did not set it to default in case guests like to access these websites. Now, the second list Springer Media does not seem to work. I tested to access www.auto-bild.ro and also facebook.com, facebook is unable to connect, auto bild connects fine. In the query log facebook is shown as blocked, auto bild is green. (also tested that for a couple of other adresses). Is there something wrong with the lists? Maybe someone is able to help here. I made sure to run pihole -g after setting up those lists and also rebooted. Output of nslookup for both requests:

Facebook

 
$ nslookup facebook.com
Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	facebook.com
Address: 0.0.0.0
Name:	facebook.com
Address: ::

Auto-Bild

 
$ nslookup auto-bild.ro
Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	auto-bild.ro
Address: 104.21.96.28
Name:	auto-bild.ro
Address: 172.67.150.160
Name:	auto-bild.ro
Address: 2606:4700:3037::6815:601c
Name:	auto-bild.ro
Address: 2606:4700:3034::ac43:96a0

Also, here is an excerpt of the pihole.log:

 
2025-04-29 11:20:40.988 query[A] www.auto-bild.ro from 192.168.178.20
2025-04-29 11:20:40.990 cached-stale www.auto-bild.ro is 172.67.150.160
2025-04-29 11:20:40.990 cached-stale www.auto-bild.ro is 104.21.96.28
2025-04-29 11:20:40.992 forwarded www.auto-bild.ro to fd00::464e:6dff:fe85:1c89
2025-04-29 11:20:40.993 query[AAAA] www.auto-bild.ro from 192.168.178.20
2025-04-29 11:20:40.994 cached-stale www.auto-bild.ro is 2606:4700:3037::6815:601c
2025-04-29 11:20:40.995 cached-stale www.auto-bild.ro is 2606:4700:3034::ac43:96a0
2025-04-29 11:20:40.996 forwarded www.auto-bild.ro to fd00::464e:6dff:fe85:1c89
2025-04-29 11:20:40.999 query[A] www.auto-bild.ro from 192.168.178.20
2025-04-29 11:20:40.999 cached-stale www.auto-bild.ro is 104.21.96.28
2025-04-29 11:20:41.000 cached-stale www.auto-bild.ro is 172.67.150.160
2025-04-29 11:20:41.001 query[AAAA] www.auto-bild.ro from 192.168.178.20
2025-04-29 11:20:41.002 cached-stale www.auto-bild.ro is 2606:4700:3034::ac43:96a0
2025-04-29 11:20:41.003 cached-stale www.auto-bild.ro is 2606:4700:3037::6815:601c
2025-04-29 11:20:41.167 reply www.auto-bild.ro is 172.67.150.160
2025-04-29 11:20:41.168 reply www.auto-bild.ro is 104.21.96.28
2025-04-29 11:20:41.171 reply www.auto-bild.ro is 2606:4700:3034::ac43:96a0
2025-04-29 11:20:41.171 reply www.auto-bild.ro is 2606:4700:3037::6815:601c

2025-04-29 11:21:13.037 query[HTTPS] facebook.com from 192.168.178.20
2025-04-29 11:21:13.039 gravity blocked facebook.com is NODATA
2025-04-29 11:21:13.040 query[A] facebook.com from 192.168.178.20
2025-04-29 11:21:13.040 gravity blocked facebook.com is 0.0.0.0
2025-04-29 11:21:13.041 query[AAAA] facebook.com from 192.168.178.20
2025-04-29 11:21:13.042 gravity blocked facebook.com is ::

High latency and jitter

Hi everyone! I am a newish user. Installed pihole on my Pi 3B almost 3 months ago and since then I have had issues when playing games - notably CS2. When I route my traffic thru Pihole I experience a significant increase in latency and jitter. It varies from noticable to insufferable. DHCP is turned on only on the router. Pi handles just then DNS and filtering. If I disable Pihole and change the DNS to 1.1.1.1, there is almost no jitter and the latency is fine. I've scowered the internet for answers, but most people blame having DHCP on both router and Pi, which I don't have enabled. Any ideas what I could check or change? Some even suggested enabling IPv6 support, but that didn't do anything. The Pi is updated to the lates Pihole version as of today. It is enclosed in a plastic case and cooling, so temps aren't an issue. On my PC I am running Fedora 42 with CachyOS kernel. Thanks!

Getting started, decision paralysis

I want to set up pi-hole on a raspberry pi device of some sort and I'm having a hard time figuring out where to start with the hardware. I'm running skynet and diversion on Merlin right now for myself, but I want to put together a cheap plug and play box for non-technical family members, aside from repointing the router dns which I will do for them. I think all I need would be the board (pi5 4gb?), power supply, case plus an sd card? Am I missing something?

Extend login-cookies expiry

Is there a good way to extend how long the login cookie lasts?

I really hate using a password with pihole because it won't keep itself logged in in a browser session for more than ~30min. Pretty much every time I visit it, I've gotta login again. (unlike every single other service I host which remembers you've logged in for at least a week -> indefinitely)

I usually set no password, but Nebula-Sync doesn't support no password yet, so I'm stuck with having them at least for now.

A password isn't a terrible idea, I just don't want to have to enter it constantly.(regardless of using a password manager, that takes forever to popup sometimes)

PSA: MikroTik and Pi-Hole

Just a PSA: for anyone using a MikroTik router, using it for their DHCP server and are having issues with their devices not using Pi-hole.

If you have set the IP of your Pi-hole as the DNS server and are seeing entries in "dynamic servers" then the router is using your ISP's DNS server causing it to bypass your Pi-Hole.

You need to go to the interface that is supplying your internet connection (PPPoE client, DHCP) and turn off the option "use peer dns".

This will disable dynamic servers and route everything to your Pi-hole.