AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

v0.107.75 cache failure

Open Septrum101 opened this issue 6 months ago • 17 comments

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

v0.107.75

Action

The dns cache function is not work proper.

Expected result

Query time should less than 1ms

Actual result

More than 10ms.

Image

Additional information and/or screenshots

No response

Septrum101 avatar May 20 '26 01:05 Septrum101

i'm having the same issue.

ittairuf avatar May 20 '26 03:05 ittairuf

Enable DNSSEC in dns settings

pyroch avatar May 20 '26 04:05 pyroch

It seems that things change when DNSSEC is enabled. Is this a known issue?

Jieoz avatar May 20 '26 05:05 Jieoz

I'm seeing something similar. I don't know if it's meant to be or if it's a malfunction

Insight16 avatar May 20 '26 08:05 Insight16

Cache seems to be working fine on my end. But I used to see 1 ms when the result is served from cache, like a couple updates ago or so. Nowadays it's like 3-5 ms, I duno why.

muchqs avatar May 20 '26 08:05 muchqs

I can reproduce behavior that appears to match the report in an isolated setup. I’ll share my findings with the developers for further investigation.

VsevolodNaumov avatar May 20 '26 10:05 VsevolodNaumov

@muchqs maybe you have DNSSEC enabled? As @pyroch pointed out, enabling DNSSEC causes the cache to start working.

ittairuf avatar May 20 '26 14:05 ittairuf

I'm having the same problem. This error only appeared in the latest version. Following the suggestion to enable DNSSEC, the cache worked again. It's possible there's some kind of conflict in this version.

luuquangvu avatar May 20 '26 15:05 luuquangvu

Here's the reason, guys:

case !p.DNSSECEnabled && !dctx.doBit:
		// Don't cache the responses without DNSSEC RRs if DNSSEC is disabled
		// and DO bit is not set, since those responses may differ from the ones
		// with DNSSEC RRs and thus may be not the desired result for user.  In
		// case DNSSEC is enabled in the proxy, the DO bit will be enforced.
		reason = "dnssec disabled"

ADV-R avatar May 20 '26 17:05 ADV-R

Hello everyone. The latest (v0.107.75) release does indeed introduce a caching bug due to incorrect DNSSEC-related logic. We're working on a solution and will release a hotfix later this week.

EugeneOne1 avatar May 20 '26 17:05 EugeneOne1

I don't have DNSSEC enabled, yet cache seems broken on my side too, latest version on LXC proxmox

Image Image

yahyoh avatar May 21 '26 08:05 yahyoh

Hello again, everyone! We have published the v0.107.76 release, which should fix this embarrassing bug. We would appreciate any feedback you could provide.

EugeneOne1 avatar May 21 '26 18:05 EugeneOne1

works good now with dnssec disabled. thanks

pyroch avatar May 21 '26 18:05 pyroch

Image

Black6spdZ avatar May 21 '26 18:05 Black6spdZ

Thought it was just me. Heard lots of "the internet doesn't work!" yesterday...

Hukuma1 avatar May 21 '26 19:05 Hukuma1

working perfectly again.

much appreciated

Image
 .\dig.exe google.com

; <<>> DiG 9.16.39 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64440
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;google.com.                    IN      A

;; ANSWER SECTION:
google.com.             300     IN      A       172.217.23.78

;; Query time: 20 msec
;; SERVER: 192.168.1.216#53(192.168.1.216)
;; WHEN: Thu May 21 16:02:05 Central Daylight Time 2026
;; MSG SIZE  rcvd: 55


**2nd dig**

.\dig.exe google.com

; <<>> DiG 9.16.39 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5275
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;google.com.                    IN      A

;; ANSWER SECTION:
google.com.             298     IN      A       172.217.23.78

;; Query time: 0 msec
;; SERVER: 192.168.1.216#53(192.168.1.216)
;; WHEN: Thu May 21 16:02:08 Central Daylight Time 2026
;; MSG SIZE  rcvd: 55

yahyoh avatar May 21 '26 21:05 yahyoh

It seems the issue has been resolved. We'll close it for now, but please report it again if it reappears.

EugeneOne1 avatar May 22 '26 18:05 EugeneOne1