AdguardTeam / AdGuardDNS

Public DNS resolver that protects you from ad trackers
https://adguard-dns.io/
GNU Affero General Public License v3.0
744 stars 61 forks source link

Add DNSCrypt support to personal AdGuard DNS #670

Open ameshkov opened 9 months ago

ameshkov commented 9 months ago

Issue Details

We currently only support DoH / DoT / DoQ there. It would be logical to add DNSCrypt support as well.

Proposed solution

In order to make "personal" part work we can use "Provider Name" field to recognize the user that makes a query. This "provider name" will be sent to AdGuard DNS server when fetching the certificate. Once we receive such a query, we can return a personal certificate of that user and then use the "Client Magic" value of that cert to recognize user's encrypted queries.

Alternative solution

No response