Project archived: I believe Clash has provides a more elegant DNS & proxy solution. So there is no need to maintain this project. Have fun guys! ----- A drop-in replacement for ChinaDNS, with a better code implementation and several bugfixes.
Resolvers can now be passed in format: protocol[+protocol]@ip:port (where protocol is udp or tcp) This change is backwards compatible with ChinaDNS. If you use GoChinaDNS as a ChinaDNS drop-in you don't have to change anything if you don't want to use this feature.
Many thanks to @beanslel 's work. Now we have a CI !?
Details:
Fix race conditions.
Fix nil pointer panic by copying dns message before mutate it.
Improve robustness
Do not panic when no resolvers available. Robustness goes first.