AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
24.85k stars 1.79k forks source link

Show DNS name in addition to the client name in query log #3726

Open timkgh opened 2 years ago

timkgh commented 2 years ago

Let's say I create a new client for streaming devices and call it streamers. The client identifier will be multiple local IPs, of all streaming dongles in the house. This is useful because I can then use the client name in rules using $client=streamers

But now the query log is confusing, for all these IPs I see the same client name streamers. It would be useful to also see the (local) DNS name of each client in addition to (or instead of) the client name, so I can easily identify each client in the logs.

Or maybe there is a better way to group a set of IP addresses for easy re-use and referencing in custom filtering rules.

timkgh commented 2 years ago

Any chance to see this in v0.108? It would improve the ergonomics of looking at logs.

ainar-g commented 2 years ago

@timkgh, it's already planned to be in 0.108.0, see the milestone.

ishanjain28 commented 1 year ago

Hi!

Please review this again. I missed this issue and created another one. This is super useful feature to have if basically all of your local clients are covered by persistent clients otherwise I just see the client name I set in adguard home for the whole network rather than seeing the actual client name resolved with hosts/arp/rdns.