this post was submitted on 14 Sep 2024
58 points (100.0% liked)

Selfhosted

46218 readers
234 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi there, I've just done the switch from NextDNS to PiHole. Simply because I want to test it out + self-host my DNS. I set up PiHole+Unbound two days ago, and yesterday the amount of "Queries blocked" was much higher that it is now. But this morning the number was down back to 100ish. Is this normal behaviour, is it supposed to reset the counter? I'd rather it didn't. Let me know if this is my fault or a setting I've managed to miss.

Thank you.

all 24 comments
sorted by: hot top controversial new old
[–] [email protected] 36 points 7 months ago (1 children)

That counter, I believe, for the last 24 hours. It will fluctuate up and down across your active daily periods

[–] [email protected] 7 points 7 months ago (1 children)

Oh okay good to know, is there a way to change this though? Would be "cooler" to see the total amount imo.

[–] [email protected] 16 points 7 months ago (1 children)

So, like a running sum? No, I don't think so, not in Pi-hole at least.

Pi-hole does have an API you could scrape, though. A Prometheus stack could track it and present a dashboard that shows the summation you want. There are other stats you could pull as well. This is a quick sample of what my home assistant integration sees

[–] [email protected] 18 points 7 months ago (1 children)

Make sure you're also blocking all other outbound DNS at your firewall. Many "smart" devices (and presumably some apps, though I have no way to check this) are hard coded to use 8.8.8.8 regardless of what DCHP says to use.

[–] [email protected] 1 points 7 months ago (1 children)

Install Pi-Hole to block ads but use DNS server provided by the biggest ad company? o.O

[–] [email protected] 13 points 7 months ago (1 children)

No he is saying that many smart devices ignore your DNS (pi-hole) as they hardcoded their DNS address to 8.8.8.8. So it is important to have an additional layer to block at the firewall.

[–] [email protected] 1 points 7 months ago

Ah, gotcha! Thanks

[–] [email protected] 6 points 7 months ago* (last edited 7 months ago) (1 children)

Although not exactly what you are looking for (ie custom counters on the landing page), you can view counters you are after on another page under 'Long-term Data > Query Log'

[–] [email protected] 6 points 7 months ago

Thanks this is good too!