From 5604e335748206e493332536682262a0f6465c4e Mon Sep 17 00:00:00 2001 From: Eugene Burkov Date: Tue, 11 Oct 2022 15:58:02 +0300 Subject: [PATCH] Pull request: 4942 cache poisoning Merge in DNS/adguard-home from 4942-cache-poisoning to master Updates #4942. Squashed commit of the following: commit aec2ccd21cfdc89ebf1a4f27e2f8278b3fb2f0bc Author: Eugene Burkov Date: Tue Oct 11 15:41:18 2022 +0300 all: imp wording commit dba35a161f5625f5adbb0ecad9b9146fb827528b Author: Eugene Burkov Date: Tue Oct 11 15:13:35 2022 +0300 all: upd proxy --- CHANGELOG.md | 7 +++++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f1985df558..f7ca66ac0fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,11 +21,18 @@ and this project adheres to opposed to URL paths ([#3418]). Note that AdGuard Home checks the server name only if the URL does not contain a ClientID. +### Changed + +- Responses with `SERVFAIL` code are now cached for at least 30 seconds. + ### Fixed +- Responses for which the DNSSEC validation had explicitly been omitted aren't + cached now ([#4942]). - Web UI not switching to HTTP/3 ([#4986], [#4993]). [#3418]: https://github.com/AdguardTeam/AdGuardHome/issues/3418 +[#4942]: https://github.com/AdguardTeam/AdGuardHome/issues/4942 [#4986]: https://github.com/AdguardTeam/AdGuardHome/issues/4986 [#4993]: https://github.com/AdguardTeam/AdGuardHome/issues/4993 diff --git a/go.mod b/go.mod index b7acd04796d..a522b6a1443 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/AdguardTeam/AdGuardHome go 1.18 require ( - github.com/AdguardTeam/dnsproxy v0.45.2 + github.com/AdguardTeam/dnsproxy v0.45.3 github.com/AdguardTeam/golibs v0.10.9 github.com/AdguardTeam/urlfilter v0.16.0 github.com/NYTimes/gziphandler v1.1.1 diff --git a/go.sum b/go.sum index 458cb14d3a1..529e49c1005 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/AdguardTeam/dnsproxy v0.45.2 h1:K9BXkQAfAKjrzbWbczpA2IA1owLe/edv0nG0e2+Esko= -github.com/AdguardTeam/dnsproxy v0.45.2/go.mod h1:h+0r4GDvHHY2Wu6r7oqva+O37h00KofYysfzy1TEXFE= +github.com/AdguardTeam/dnsproxy v0.45.3 h1:lvJlifDIVjHFVkVcieBhXyQA357Wl+vmLxeDlaQ8DE8= +github.com/AdguardTeam/dnsproxy v0.45.3/go.mod h1:h+0r4GDvHHY2Wu6r7oqva+O37h00KofYysfzy1TEXFE= github.com/AdguardTeam/golibs v0.4.0/go.mod h1:skKsDKIBB7kkFflLJBpfGX+G8QFTx0WKUzB6TIgtUj4= github.com/AdguardTeam/golibs v0.10.4/go.mod h1:rSfQRGHIdgfxriDDNgNJ7HmE5zRoURq8R+VdR81Zuzw= github.com/AdguardTeam/golibs v0.10.9 h1:F9oP2da0dQ9RQDM1lGR7LxUTfUWu8hEFOs4icwAkKM0=