Open wangziyao318 opened 1 year ago
Seems duplicate of https://github.com/AdguardTeam/AdGuardHome/issues/4965.
I'm not exactly sure, what that is. AdGuard Home already has support for EDNS(0) Client Subnet, but this seems to be something else?
You mean this one in WebUI, or some extra configuration in AdGuardHome.yaml
?
Hi @ainar-g, it seems that it is based on EDNS(0), but it will drop all responses that don't have EDNS(0).
By the way, @wangziyao318 said that it's helpful to preventing DNS hijack, is there any evidence of this?
Yes, I'm in China and I've tested it.
Ah, I see, thanks.
Seems that the Chinese operator's DNS hijack response doesn't contain the EDNS0 field.
Prerequisites
[X] I have checked the Wiki and Discussions and found no answer
[X] I have searched other issues and found no duplicates
[X] I want to request a feature or enhancement and not ask a question
Description
This is NOT my work.
I found it very useful in preventing DNS hijack by using
EDNS0
, achieving the same effect of DoH/DoT/DoQ while preserving the low latency of UDP. Also, this project is written ingo
and based ongithub.com/miekg/dns
, making it easier to integrate.