Skip to content

v1.7: additional resolver format

Compare
Choose a tag to compare
@beanslel beanslel released this 18 Nov 06:59
· 17 commits to master since this release

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.

  • ip:port format still accepted, will default to udp+tcp@ip:port (same as before)
  • Rightmost protocol is the (optional) fallback protocol
  • Can mix and match formats
  • Example: udp+tcp@114.114.114.114,tcp@127.0.0.0:5353,1.1.1.1
  • See README and help for details