Adguardhome: Exclude certain domains / IPs from statistics

Created on 22 May 2020  ·  8Comments  ·  Source: AdguardTeam/AdGuardHome

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • [x] I am running the latest version
  • [x] I checked the documentation and found no answer
  • [x] I checked to make sure that this issue has not already been filed

Problem Description

A number of devices - monitoring and updaters - check frequently for the same hostnames. Due to the fact that the TTL is overriden by Adguardhome, these checks greatly skew the statistics. My monitoring device makes 21,600 requests to google.com a day - one every 4 seconds - for example.

My Swann cameras have a bug that's causing a lookup every 5 seconds to www.amazonaws.com. 17,280 times per 24 hours.

Proposed Solution

Offer a way to remove certain domains (www.amazonaws.com) and certain IPs (192.168.1.2) from the statistics gathering process. Still apply the same customised filters and what not, but remove them from the statistics.

Alternatives Considered

Currently bypassing the Adguardhome for these devices affected and going straight to upstream DNS.

Additional Information

PiHole has this, but I like Adguardhome's UI and static Go binary more.

Medium feature request

Most helpful comment

I wonder would it be enough if we simply add a Client setting: "Do not log queries"?

If implement, Would it be possible to mod it bit: "Do not display queries"? so we still have them to check when necessary and again user has chance to enable/disable that "do not display" option through client settings.

All 8 comments

Well, let's see how many upvotes it gets.

Well, let's see how many upvotes it gets.

Thanks for getting back to me. All the best.

One more similar feature request:
https://github.com/AdguardTeam/AdGuardHome/issues/1714

It's possible to implement this feature in single control panel https://github.com/AdguardTeam/AdGuardHome/issues/481#issuecomment-515673586 in query log then user can apply complex/flexible sorting (date range, time range, hide unwanted domains https://github.com/AdguardTeam/AdGuardHome/issues/594#issuecomment-469129412, hide clients, sort for certain devices and more then result generate for web-app wide including dashboard, lists pages (see -->#580), client page (see --> https://github.com/AdguardTeam/AdGuardHome/issues/1336) etc and remain till user edit or clear it manually same as github.

basically it's not possible to bring same #481 control panel to dashboard (because it takes unwanted space and dashboard contain only limited data) but if dashboard result manage through query log control panel as mentioned above then I believe it'll help to generate something very nice and useful as user expect (about total, malware/phishing, adult queries, average processing time, top clients, top blocked and queried domains etc)

Similar feature request belong to this and #1714 > #594 https://github.com/AdguardTeam/AdGuardHome/issues/594#issuecomment-469129412

Optionally, you can get benefit from #1164 (Collapse feature)

Some images to highlight the problem:
image
image

I wonder would it be enough if we simply add a Client setting: "Do not log queries"?

That would work for me. The reason they’re named is because I set that up in my search for this setting before realising it didn’t exist.

I’d like to eventually be able to exclude _domains_, but per-client is good enough if it’s easier / faster to develop.

I wonder would it be enough if we simply add a Client setting: "Do not log queries"?

If implement, Would it be possible to mod it bit: "Do not display queries"? so we still have them to check when necessary and again user has chance to enable/disable that "do not display" option through client settings.

Was this page helpful?
0 / 5 - 0 ratings