From 79306cb48afec50336ac654fa3810d682848139c Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Thu, 27 Jul 2023 21:06:51 +0300 Subject: [PATCH] Pull request 1944: 6049-block-ns-root Updates #6049. Squashed commit of the following: commit 288a486b741b4dc57769bd5a0bdd67b4d75cc8c0 Author: Ainar Garipov Date: Thu Jul 27 20:59:14 2023 +0300 dnsforward: fix blocking of ns root --- CHANGELOG.md | 5 +++++ internal/dnsforward/access.go | 2 +- internal/dnsforward/access_test.go | 6 ++++++ internal/dnsforward/filter.go | 14 ++++++++++---- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 190d1235..1046812f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,10 +25,15 @@ NOTE: Add new changes BELOW THIS COMMENT. ### Fixed +- Inability to block queries for the root domain, such as `NS .` queries, using + the *Disallowed domains* feature on the *DNS settings* page ([#6049]). Users + who want to block `.` queries should use the `|.^` AdBlock rule or a similar + regular expression. - Client hostnames not resolving when upstream server responds with zero-TTL records ([#6046]). [#6046]: https://github.com/AdguardTeam/AdGuardHome/issues/6046 +[#6049]: https://github.com/AdguardTeam/AdGuardHome/issues/6049