Option for logging AGH's own DNS requests. #1851

Closed
opened 2026-03-04 01:35:25 -05:00 by deekerman · 5 comments
Owner

Originally created by @adamgibbo on GitHub (Aug 3, 2020).

Problem Description
AdGuard Home does make DNS requests itself, but does not show on the query log.

Proposed Solution
In the interests of openness, please allow an option for logging of AdGuard Home's DNS requests

Alternatives Considered
Understandably AdGuard Home makes a lot of requests due to safebrowsing. Perhaps make this a disabled by default option or enabled in .yaml file only.

Originally created by @adamgibbo on GitHub (Aug 3, 2020). **_Problem Description_** AdGuard Home does make DNS requests itself, but does not show on the query log. **_Proposed Solution_** In the interests of openness, please allow an option for logging of AdGuard Home's DNS requests **_Alternatives Considered_** Understandably AdGuard Home makes a lot of requests due to safebrowsing. Perhaps make this a disabled by default option or enabled in .yaml file only.
deekerman 2026-03-04 01:35:25 -05:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@ameshkov commented on GitHub (Aug 3, 2020):

@szolin is it easy to do or not? Tbh, there's always a simple solution - write this to the regular log file (if we don't do that already).

Understandably AdGuard Home makes a lot of requests due to safebrowsing

It makes many requests, but not DNS requests. Once the domain name is resolved, it's cached and not queried anymore.

@ameshkov commented on GitHub (Aug 3, 2020): @szolin is it easy to do or not? Tbh, there's always a simple solution - write this to the regular log file (if we don't do that already). > Understandably AdGuard Home makes a lot of requests due to safebrowsing It makes many requests, but not DNS requests. Once the domain name is resolved, it's cached and not queried anymore.
Author
Owner

@adamgibbo commented on GitHub (Aug 3, 2020):

Even though this specific request is for AGH. This is also something that I'd thought about with AdGuard for Android too. I think the log should show ALL DNS requests, even DNS bootstrap.

@adamgibbo commented on GitHub (Aug 3, 2020): Even though this specific request is for AGH. This is also something that I'd thought about with AdGuard for Android too. I think the log should show **ALL** DNS requests, even DNS bootstrap.
Author
Owner

@szolin commented on GitHub (Aug 4, 2020):

Let's first define explicitly what is "Query Log".
As I understand it's a log of requests AGH receives from the outside (i.e. a client connects via TCP or UDP and sends a DNS request to AGH) and processes according to its configuration.
Of course we can add anything there, including our own direct requests to upstream servers and requests to family.adguard server. But if we do so, my understanding of "Query Log" becomes incorrect, then let someone define what is "Query Log".

@szolin commented on GitHub (Aug 4, 2020): Let's first define explicitly what is "Query Log". As I understand it's a log of requests AGH receives from the outside (i.e. a client connects via TCP or UDP and sends a DNS request to AGH) and processes according to its configuration. Of course we can add anything there, including our own direct requests to upstream servers and requests to family.adguard server. But if we do so, my understanding of "Query Log" becomes incorrect, then let someone define what is "Query Log".
Author
Owner

@ameshkov commented on GitHub (Aug 4, 2020):

Well, I kinda agree. I think internal queries should go to the regular log, not the query log

@ameshkov commented on GitHub (Aug 4, 2020): Well, I kinda agree. I think internal queries should go to the regular log, not the query log
Author
Owner

@stale[bot] commented on GitHub (Oct 3, 2020):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale[bot] commented on GitHub (Oct 3, 2020): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
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#1851
No description provided.