Open cbuijs opened 4 years ago
There doesn't seem to be a Go library for it yet. https://github.com/DNSCrypt/dnscrypt-proxy doesn't have it structured as a library. So I could either re-org the code upstream, or write a new implementation.
Gotcha. I was expected an easier approach as the dnsproxy was/is written in go. For me it is not a 'must' but it is the one missing besides all the other DNS related protocols :-).
Looks like we might be able to use https://github.com/ameshkov/dnscrypt as that's a library.
@folbricht @cbuijs
New resolver dnscrypt-tcp & dnscrypt-udp is here: iamsurfing/routedns
Is there anybody want to help me fix bugs?
@iamsurfing - Not an avid user/fan of DNSCrypt, but I'll try to test it over the weekend.
Would you be able to turn that into a PR? It's very hard to review otherwise
@folbricht It is not good to pull request because I want to add some feature.
Set local address(done) Bootstrap(doing) Resolve encrypted cert(doing)
If you want to review it, view this following files.
https://github.com/iamsurfing/routedns/blob/master/dnscrypt.go
https://github.com/iamsurfing/routedns/blob/master/cmd/routedns/resolver.go#L80
case "dnscrypt-udp","dnscrypt-tcp"
See here: https://dnscrypt.info/
OpenDNS/Cisco-Umbrella heritage. Seems to be a quasi accepted standard for a long time already and has a pretty big fan base including tools, apps, etc. Lively community.
Both
listener
andresolver
support.