AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Default ratelimit of 20 queries/sec is way too low

Open ipha opened this issue 1 year ago • 1 comments

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)

Setup

On a router, DHCP is handled by the router

AdGuard Home version

0.107.44

Action

Open a single large web page (ie reddit home page) or multiple sites in tabs on a cold cache.

Expected result

Web page(s) open in a timely fashion.

Actual result

DNS queries stall on some or all of the pages due to the rate limit.

Additional information and/or screenshots

After installing AdGuardHome on my router, I noticed a intermittent stall in loading some web pages. Notably, 'large' ones or when loading multiple at once. After some testing I believe it's due to the default rate limit settings on AdGuardHome.

For example, loading the reddit home page on a cold cache will make upwards of 38 dns queries.

ipha avatar Feb 12 '24 03:02 ipha

So.. increase the rate limit?

Dynamic5912 avatar Feb 13 '24 22:02 Dynamic5912

It is a sane default for most installations, and those who need it can always increase it or add clients to the list of ratelimit exceptions.

ainar-g avatar Feb 15 '24 18:02 ainar-g