3 ms·
What is purpose of DNSCrypt? Prevent ISP from intercepting DNS queries? ISP cannot see the contents of the DNSCrypt encrypted DNS queries. But person operati
by 1vuio0pswjnm7 2y ago
What is purpose of DNSCrypt?
Prevent ISP from intercepting DNS queries? ISP cannot see the contents of the DNSCrypt encrypted DNS queries.
But person operating DNSCrypt cache where the queries are sent _can_ see the contents of the DNS queries.
DNSCrypt receives encrypted queries but then it sends these queries _unencrypted_ across the internet.
Morever the DNSCrypt cache receives _unencrypted_ DNS responses.
Anyone eavesdropping on the network can read and tamper with the contents of these packets, and impersonate packet senders.
What if ISP sets up a DNSCrypt cache somewhere on the internet? How would a DNSCrypt user know?
What makes it safe to share the contents of DNS queries with operator of DNSCrypt cache but not operator of ISP DNS cache?
What if the computer could send encrypted DNS queries to the authoritative nameserver for a domain name _directly_ instead of sending the queries to a DNSCrypt cache operator? What if the computer user could avoid using a third party intermediary: a DNSCrypt cache operator, an ISP, etc.?
As it happens someone designed a method for doing so, including the underlying cryptography.
That method expects that computer users run their _own_ caches instead of using one operated by third parties, such as an ISPs, DNSCrypt cache operators, OpenDNS, Cloudflare, Google DNS, Quad9, etc.
The creators of DNSCrypt copied that person's work to "invent" DNSCrypt.
Instead of using a local DNS cache bound to the computer owner's loopback that sends and recieves encrypted DNS packets directly to authoritative nameservers, they chose to require computer users to send DNS queries to _third party_ DNSCrypt cache operators as above.
If all packets carrying DNS data on the internet are to be encrypted it will require cooperation from authoritative nameservers.
I have run experiments on home network where I serve an entire zone from an authoritative nameserver fronted by a DNSCurve forwarder.
Others are running authoritative nameservers fronted by DNSCurve forwarder on the internet. AFAIK none of them have had any problems.
There is also a third party DNS service that runs DNSCurve forwarders in front of its nameservers.
Imagine a non-ICANN DNS registry that uses DNSCurve forwarders and only allows encrypted DNS.