AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

DNS cache prefetch

Open seonwoolee opened this issue 5 years ago • 7 comments

Problem Description

I find that sometimes the response from AdGuard Home can be slow.

Proposed Solution

While it causes an increase in DNS traffic and load on the server, the unbound DNS resolver supports prefetching of cached entries.

Could this be added to AdGuard Home?

seonwoolee avatar Dec 14 '19 16:12 seonwoolee

But DNS cache is not already implemented? what is the diference with this?

lordraiden avatar May 21 '20 21:05 lordraiden

Here's the concept of prefetch:

  1. Scan cached records that are about to expire
  2. Asynchronously query them and update the cache

This feature makes perfect sense for a DNS recursor like unbound. Not so useful for a forwarder like AGH. But makes some sense.

ameshkov avatar May 22 '20 11:05 ameshkov

any news on this feature ?

ghost avatar Jan 19 '21 01:01 ghost

No, and tbh I prefer #2145

ameshkov avatar Jan 19 '21 07:01 ameshkov

oh it's what it means optimistic, i have seen it but not oppened it since i haven't understood it would mean update the cache. so it's for 0.107 (if nothing change of course), i had asked since here it's milstoned to 1.0. thanks i have my answer then.

ghost avatar Jan 19 '21 18:01 ghost

This would be super helpful. Waching.

AJolly avatar Apr 24 '23 18:04 AJolly

I would appreciate this feature too.

tipuraneo avatar Jan 28 '24 20:01 tipuraneo