shadowsocks / ChinaDNS

Protect yourself against DNS poisoning in China.
GNU General Public License v3.0
3.59k stars 1.29k forks source link

Use dnscrypt tcp-mode as chinadns upstream is not support? #134

Closed zw963 closed 6 years ago

zw963 commented 6 years ago

I create my own dnscrypt-wrapper server in my vps, it worked.

but seem like UDP is not indeal, so I use tcp-mode only.

in this case, as ChinaDNS upstream, chinadns refuse to work.

admin@RT-AC5300-5E70:/tmp/mnt/sda1/entware/etc/init.d# dig -p 5356 www.youtube.com
;; Truncated, retrying in TCP mode.
;; Connection to 127.0.0.1#5356(127.0.0.1) for www.youtube.com failed: connection refused.
s7lx commented 6 years ago

netstat -anp|grep chinadns

understand ? chinadns just listen on UDP port only