Count of Domains on Blocklists #5517

Closed
opened 2026-03-04 06:13:10 -05:00 by deekerman · 9 comments
Owner

Originally created by @gelbphoenix on GitHub (Jan 23, 2025).

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to request a feature or enhancement and not ask a question

The problem

It isn't really clear how many domains a AdGuard Home instance has on the added blocklists. Listing the number can be a good and interesting indication of how much of the internet is blocked by an instance.

Proposed solution

Adding a counter on the dashboard which shows the domains on the blocklists. Said counter could also function as a direct link to /#filters. Something similar to what Pi-Hole already does.

Image

Alternatives considered and additional information

Either not implementing this at all or at the /#filters page as a simple text value.

Originally created by @gelbphoenix on GitHub (Jan 23, 2025). ### Prerequisites - [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer - [x] I have searched other issues and found no duplicates - [x] I want to request a feature or enhancement and not ask a question ### The problem It isn't really clear how many domains a AdGuard Home instance has on the added blocklists. Listing the number can be a good and interesting indication of how much of the internet is blocked by an instance. ### Proposed solution Adding a counter on the dashboard which shows the domains on the blocklists. Said counter could also function as a direct link to `/#filters`. Something similar to what Pi-Hole already does. ![Image](https://github.com/user-attachments/assets/3dedd1e9-92ee-4d3f-ad5c-53b8b70e907a) ### Alternatives considered and additional information Either not implementing this at all or at the `/#filters` page as a simple text value.
deekerman 2026-03-04 06:13:10 -05:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@Dynamic5912 commented on GitHub (Jan 23, 2025):

Number of domains is irrelevant.

If it's blocking ads that's all that matters.

Otherwise just total up the domains from the blocklist page.

@Dynamic5912 commented on GitHub (Jan 23, 2025): Number of domains is irrelevant. If it's blocking ads that's all that matters. Otherwise just total up the domains from the blocklist page.
Author
Owner

@gelbphoenix commented on GitHub (Jan 23, 2025):

Otherwise just total up the domains from the blocklist page.

They show the total length of the blocklists and don't exclude domains that are already blocked by another blocklist.

Also I wouldn't say that this is irrelevant as a very high count of blocked domains can conclude in high resource usage and response times.

@gelbphoenix commented on GitHub (Jan 23, 2025): > Otherwise just total up the domains from the blocklist page. They show the total length of the blocklists and don't exclude domains that are already blocked by another blocklist. Also I wouldn't say that this is irrelevant as a very high count of blocked domains can conclude in high resource usage and response times.
Author
Owner

@Hello-World-Traveler commented on GitHub (Feb 2, 2025):

I do think this is useful information, Knowing the total number of blocked domains and or non-blocked domains (white listed) is good for admins. I think we used to have this on the main page?

@Hello-World-Traveler commented on GitHub (Feb 2, 2025): I do think this is useful information, Knowing the total number of blocked domains and or non-blocked domains (white listed) is good for admins. I think we used to have this on the main page?
Author
Owner

@01010110011000010110111001101001 commented on GitHub (Feb 17, 2025):

It would be nice.
Best would be to be able to choose which 4 stats are at the main page.
Depend at the use you wont even needa a "child safety lock" or "phishing" website counter and there is always just a 0% where could be more usefuel stats.

@01010110011000010110111001101001 commented on GitHub (Feb 17, 2025): It would be nice. Best would be to be able to choose which 4 stats are at the main page. Depend at the use you wont even needa a "child safety lock" or "phishing" website counter and there is always just a 0% where could be more usefuel stats.
Author
Owner

@Hello-World-Traveler commented on GitHub (Feb 19, 2025):

hey @ainar-g can this go on to a list to be added later in the future?

@Hello-World-Traveler commented on GitHub (Feb 19, 2025): hey @ainar-g can this go on to a list to be added later in the future?
Author
Owner

@ainar-g commented on GitHub (Feb 19, 2025):

This cannot really be done precisely, as AGH supports wildcard- and regexp-based rules. There is also the fact that AGH can block queries based on DNS query type as well, so if a domain has AAAA records blocked but not A or vice versa, is it “blocked” or not?

And the filtering-rule lists tables already show the number of rules, which can be a rough estimation.

@ainar-g commented on GitHub (Feb 19, 2025): This cannot really be done precisely, as AGH supports wildcard- and regexp-based rules. There is also the fact that AGH can block queries based on DNS query type as well, so if a domain has `AAAA` records blocked but not `A` or vice versa, is it “blocked” or not? And the filtering-rule lists tables already show the number of *rules,* which can be a *rough* estimation.
Author
Owner

@Hello-World-Traveler commented on GitHub (Feb 19, 2025):

As in total number? Yes the the filter page shows the rule count, can't AGH count them together and show how many total domains are on the block list?

Image

Total number of block domains on that screenshot: 165,887

@Hello-World-Traveler commented on GitHub (Feb 19, 2025): As in total number? Yes the the filter page shows the rule count, can't AGH count them together and show how many total domains are on the block list? ![Image](https://github.com/user-attachments/assets/a03f0a7f-4225-4e99-8d53-7285698227a5) Total number of block domains on that screenshot: 165,887
Author
Owner

@01010110011000010110111001101001 commented on GitHub (Feb 19, 2025):

If you use Home Assistant and AdGuard Home, there is already a Entity named "sensor.adguard_home_rules_count" where you can count the rules and observe the History.

@01010110011000010110111001101001 commented on GitHub (Feb 19, 2025): If you use Home Assistant and AdGuard Home, there is already a Entity named "sensor.adguard_home_rules_count" where you can count the rules and observe the History.
Author
Owner

@ainar-g commented on GitHub (Feb 20, 2025):

@Hello-World-Traveler, that's #5316. Please upvote that feature request by using the 👍 and not +1 comments.

@ainar-g commented on GitHub (Feb 20, 2025): @Hello-World-Traveler, that's #5316. Please upvote that feature request by using the 👍 *and not +1 comments.*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#5517
No description provided.