Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the user to send their real subnet for ECS #649

Closed
trmdi opened this issue Aug 12, 2023 · 1 comment
Closed

Allow the user to send their real subnet for ECS #649

trmdi opened this issue Aug 12, 2023 · 1 comment
Labels
feature request wontfix This will not be worked on

Comments

@trmdi
Copy link

trmdi commented Aug 12, 2023

Issue Details

Currently Adguard DNS uses an anonymized subnet for ECS which may be inaccurate in some countries.
For example in Vietnam, if Adguard uses an subnet in HCM which tells the upstream DNS server to prefer to return servers near HCM/Singapore, while servers in HN/Hongkong are better if you are in Hanoi. (map: https://www.mapcustomizer.com/map/hn-hcm-hk-sgp)

Proposed solution

Could you make this optional, something like this:
Screenshot 2023-08-12 102934
(captured from nextDNS's website)

  • enable anonymized ECS -> use an anonymized subnet chosen by Adguard as currently.
  • disable -> use the real subnet of the user eg. 14.226.xx.0/24
  • or whatever is set by the user in e.g. AdguardHome, dnsproxy...
@ameshkov
Copy link
Member

Note, that NextDNS does not send your real ECS, it tries to anonymize it using the way that's very similar to ours.

We use different approaches to improve cache efficiency though. They only enable ECS for a "whitelist" of domains, and we use a limited set of AS numbers instead. We'll publish an article with a more detailed explanation.

Anyways, I suggest you trying again, we made some improvements recently.

The last issue to solve with our anonymization algorithm is big providers in large countries, once we solve it everyone will be happy.

@ameshkov ameshkov added the wontfix This will not be worked on label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants