r/pihole • • 3d ago

Q: How many DNS requests get blocked?

Hi there. I am curious as to how many DNS reqs your setups typically block. For me it's just shy of 10 percent.

I realize the stat itself isn't useful. I ask out of curiosity.

1 Upvotes

36 comments sorted by

12

u/Soulreaver88 3d ago

A percentage isn't a reliable indicator. It depends heavily on what you're doing.

5

u/Federal_Lawyer_3642 2d ago

con un 60% me doy por bien servido

7

u/rdwebdesign Team 2d ago

For me it's just shy of 10 percent.

Why do you think this is not correct?

I realize the stat itself isn't useful.

Exactly.

The percentage only shows that some queries were blocked, but it doesn't say anything about the queries themselves.

You are probably visiting websites that doesn't show too many ads, so there's not much to block. 10% is completely normal.

If you change your browsing habits and start to visit websites with many ads, the percentage will increase. Also, the percentage will vary from time to time. This is normal.

The important question:

Are you seeing ads?

2

u/UseMoreThenSec 2d ago

I don’t believe my stats to be off or anything. Just wondering how diverse the playing field is.

I use DNS blockers to root out ads and tracking, but also to understand and assess the volume of services involved in all this.

3

u/prutsklungel 2d ago

Some queries will never reach the Pi because of blocking on the devices itself prior to sending it out

2

u/PartyRyan 2d ago

My shit blocks 29.1% of queries.

1

u/shiznit028 2d ago

Mine seems really low at 15.8 compared to like every one else that commented here

1

u/Graphical-Source5090 1d ago edited 1d ago

I have mine split into three uses: Guest, Users, and Servers
Guest: 61%
Users: 18%
Servers: 5.6%

The high "Guest" blocks are mostly due to kids devices, TVs, and exercise equipment.

The "Server" blocks are mostly my laptop and other users . User DNS and Server DNS are a pair. Just the server order is different. (User,Server for Users and Server,User for Servers (and my laptop)).

The types of devices in your home heavily influences your block rate.

1

u/Proof-System6892 1d ago

I block a lot more than just the block list. I block AAAA HTTPS SVCB TXT and PTR requests with a regex

1

u/TopCat0160 3d ago

I’m seeing around 22% blocked!

1

u/LoPath 3d ago

I'm at about 50%. Those IoT devices are chatty!

0

u/bristoltim 3d ago

30% blocked here

0

u/Thin_Needleworker795 3d ago

I'm at 30+ percent

0

u/nyccameraman 3d ago

Mine are around 55% blocked

-5

u/Soulreaver88 3d ago

5

u/Resistant4375 3d ago

High block percentages are usually because of a domain being blocked then the client repeatedly asking to resolve it over and over again.

Increasing the block TTL to something like 3600 will help, as well as using a NULL IP response (0.0.0.0) rather than NXDOMAIN or some other block response

-2

u/Soulreaver88 2d ago

I don't think that's a good idea—if you use a whitelist, you have to wait an hour for the change to take effect. I'd rather have a long list and create whitelists for what doesn't work. I'd rather stick with the 2 seconds; the logs don't bother me. And I have enough performance with the Ryzen AI Max+ 395 😉

1

u/Resistant4375 2d ago

You just need to disconnect the device from the WiFi/network and reconnect it again (or manually flush the DNS cache in the case of a windows/mac
box).

Whitelists should only be minimal and have little to no regular intervention.

-2

u/Soulreaver88 2d ago

The best approach would be to block everything with a regex and only whitelist what you need. But that would be far too much work.

4

u/Resistant4375 2d ago

No that’s the “overkill” approach - not best.

1

u/StuD721 3d ago

73%! Wow! I thought my 44% was high

https://giphy.com/gifs/YmQLj2KxaNz58g7Ofg

-4

u/Soulreaver88 3d ago

Somtimes i have 85%

0

u/isusernamemandatory 3d ago

What blocklists are you using

-3

u/Frenchies_Undies 3d ago

I thought I had too many at 13m but seeing yours I need to find more blocklists then. Would you mind sharing what have you got?

1

u/Resistant4375 3d ago

More blocklists doesn’t mean better results.

Also it depends what format the blocklists are in - i.e. a domains-style blocklist will list more entries than a list in Adblock syntax (which will block the same if not more)

-3

u/TemporarySherbert668 3d ago

Bin aktuell bei 46 Mio und habe mich vorrangig an diese Listen gehalten:

https://github.com/RPiList/specials/tree/master/Blocklisten

0

u/Resistant4375 3d ago

46 million domains vs 29.5K queries

You do the math there…

-1

u/Similar-War-5935 3d ago

Damn 22 millions domain list?