AdGuard browsing security web service is too slow😭 #1850

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

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

Prerequisites

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

Issue Details

  • Version of AdGuard Home server:
    • 0.103.3
  • How did you setup DNS configuration:
    • VPS
  • Operating system and version:
    • Debian 9

Actual Behavior

As we understood in https://github.com/AdguardTeam/AdGuardHome/issues/1982, AdGuard browsing security web service slows down DNS queries too much. Only one way to fix this - disable this service completely.

Screenshots

Screenshot:

image

image

Additional Information

AdGuard browsing security web service is one of two reasons I use AdGuard Home😭This is also related us to https://github.com/AdguardTeam/AdGuardHome/issues/1658. Please find a way to fix this and increase the speed of processing queries when this service is enabled.

Thank you.

Originally created by @ammnt on GitHub (Aug 3, 2020). <!-- As an open-source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can. --> ### Prerequisites - [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 ### Issue Details <!--- Please include all relevant details about the environment you experienced the bug in --> * **Version of AdGuard Home server:** * 0.103.3 * **How did you setup DNS configuration:** * VPS * **Operating system and version:** * Debian 9 ### Actual Behavior As we understood in https://github.com/AdguardTeam/AdGuardHome/issues/1982, AdGuard browsing security web service slows down DNS queries too much. Only one way to fix this - disable this service completely. ### Screenshots <!-- If applicable, add screenshots to help explain your problem. --> <details><summary>Screenshot:</summary> ![image](https://user-images.githubusercontent.com/45385632/89106800-7173ef80-d435-11ea-9ee2-a1c1fc441cff.png) ![image](https://user-images.githubusercontent.com/45385632/89102359-1203e880-d411-11ea-8968-ddb10c82cf4f.png) </details> ### Additional Information AdGuard browsing security web service is one of two reasons I use AdGuard Home😭This is also related us to https://github.com/AdguardTeam/AdGuardHome/issues/1658. Please find a way to fix this and increase the speed of processing queries when this service is enabled. Thank you.
deekerman 2026-03-04 01:35:25 -05:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

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

Not a bug

@ameshkov commented on GitHub (Aug 3, 2020): Not a bug
Author
Owner

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

There's a visible slowdown in the last couple of days due to not ideal routing to DNS servers, we'll resolve it soon.

However, I'd like to stress that the safebrowsing responses are cached by AGH and this overhead is only present for the first query to a domain.

@ameshkov commented on GitHub (Aug 3, 2020): There's a visible slowdown in the last couple of days due to not ideal routing to DNS servers, we'll resolve it soon. However, I'd like to stress that the safebrowsing responses are cached by AGH and this overhead is only present for the first query to a domain.
Author
Owner

@gitthangbaby commented on GitHub (Oct 5, 2021):

i measured +200ms for each api feature today.
is there any benefit of API over simply adding a blocklist (malware, kid oriented) or using family DNS servers? i ran check of 100s of domains compared to other local and remote DNS services, and the slow down is as stated: massive, and it feels the same way on the devices.
i isolated vulnerable users into a group with the API turned on. However the Clients table in the main window start showing the corresponding client name instead of device name which is pretty inconvenient (i definitely prefer the device name from ARP/rDNS).

@gitthangbaby commented on GitHub (Oct 5, 2021): i measured +200ms for each api feature today. is there any benefit of API over simply adding a blocklist (malware, kid oriented) or using family DNS servers? i ran check of 100s of domains compared to other local and remote DNS services, and the slow down is as stated: massive, and it feels the same way on the devices. i isolated vulnerable users into a group with the API turned on. However the Clients table in the main window start showing the corresponding client name instead of device name which is pretty inconvenient (i definitely prefer the device name from ARP/rDNS).
Author
Owner

@lordraiden commented on GitHub (Jan 10, 2022):

There's a visible slowdown in the last couple of days due to not ideal routing to DNS servers, we'll resolve it soon.

However, I'd like to stress that the safebrowsing responses are cached by AGH and this overhead is only present for the first query to a domain.

Why don't you store the "AdGuard browsing security" blocklist locally in our adguard installations? In case you don't want to share the IOCs you can maybe store it encrypted.

@lordraiden commented on GitHub (Jan 10, 2022): > There's a visible slowdown in the last couple of days due to not ideal routing to DNS servers, we'll resolve it soon. > > However, I'd like to stress that the safebrowsing responses are cached by AGH and this overhead is only present for the first query to a domain. Why don't you store the "AdGuard browsing security" blocklist locally in our adguard installations? In case you don't want to share the IOCs you can maybe store it encrypted.
Author
Owner

@ameshkov commented on GitHub (Jan 11, 2022):

Unfortunately, I am not aware of any way that would allow encrypting the lists and using them without decrypting locally.

@ameshkov commented on GitHub (Jan 11, 2022): Unfortunately, I am not aware of any way that would allow encrypting the lists and using them without decrypting locally.
Author
Owner

@terual commented on GitHub (Jul 18, 2023):

Unfortunately, I am not aware of any way that would allow encrypting the lists and using them without decrypting locally.

Why would you decrypt the list locally? You could hash the domain under scrutiny, and then check against the pre-downloaded list of hashes.

@terual commented on GitHub (Jul 18, 2023): > Unfortunately, I am not aware of any way that would allow encrypting the lists and using them without decrypting locally. Why would you decrypt the list locally? You could hash the domain under scrutiny, and then check against the pre-downloaded list of hashes.
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#1850
No description provided.