From 5cf55b56d47aeb45aa203e10bc92fe1c9c05a890 Mon Sep 17 00:00:00 2001 From: Imre Eilertsen Date: Fri, 25 Oct 2024 11:21:51 +0200 Subject: [PATCH] =?UTF-8?q?Update=20a=20=E2=80=94=20AdGuard=20Home=20Misce?= =?UTF-8?q?llaneous.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a — AdGuard Home Miscellaneous.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/a — AdGuard Home Miscellaneous.txt b/a — AdGuard Home Miscellaneous.txt index 0ad1d832f..7a893c41f 100644 --- a/a — AdGuard Home Miscellaneous.txt +++ b/a — AdGuard Home Miscellaneous.txt @@ -1,6 +1,6 @@ [Adblock Plus 3.6] ! Title: 🏘 Semi-public stuff for Dandelion Sprout's Official DNS Server -! Version: 07October2024v3 +! Version: 25October2024v2 ! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#-english ! Description: Spun off from a.txt when I began placing public scrutiny on myself and my DNS server, as I didn't intend for some of the entries in it to be blocked by DNS server users that weren't myself, and I didn't except even hardcore tech experts to know that "$document" meant that the entries didn't apply to the server. @@ -105,6 +105,16 @@ zone "www.nrk.no" { type master; notify no; file "null.zone.file"; }; ! ———Incorrect syntaxes——— /^https://.*[/?].*$/$dnstype=A|AAAA /^[1-9].*:\d{1,5},.*$/$dnstype=A|AAAA + +! ———Handling LAN-specific domains, hoping that various devices can handle IP address redirections like these——— +! https://github.com/AdguardTeam/AdGuardHome/discussions/2901#discussioncomment-11033278 +|local|$dnsrewrite=127.0.0.1,dnstype=~AAAA|~CNAME +|local|$dnsrewrite=::1,dnstype=AAAA +! https://locall.host/localhost-localdomain/ +|localhost|$dnsrewrite=127.0.0.1,dnstype=~AAAA|~CNAME +|localhost|$dnsrewrite=::1,dnstype=AAAA +|localhost.localdomain|$dnsrewrite=127.0.0.1,dnstype=~AAAA|~CNAME +|localhost.localdomain|$dnsrewrite=::1,dnstype=AAAA !#endif !#endif !#endif