60 秒后连接超时

60 秒后连接超时

我已经安装DNS加密在 Ubuntu Linux 10.04.1 x86_64 上,它工作正常

nslookup facebook.com 127.0.0.2
Server:         127.0.0.2
Address:        127.0.0.2#53

Non-authoritative answer:
Name:   facebook.com
Address: 173.252.110.27

约 60 秒后

nslookup facebook.com 127.0.0.2
;; connection timed out; no servers could be reached

守护进程已在运行。这就像操作系统的某些东西阻止 /usr/local/sbin/dnscrypt-proxy 接受连接。什么可以做到这一点?

编辑 1:问题仅有的出现在UDP

查询 udp 端口

dig @127.0.0.2 +notcp facebook.com

; <<>> DiG 9.7.0-P1 <<>> @127.0.0.2 +notcp facebook.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached

查询 tcp 端口

dig @127.0.0.2 +tcp facebook.com

; <<>> DiG 9.7.0-P1 <<>> @127.0.0.2 +tcp facebook.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63984
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;facebook.com.                  IN      A

;; ANSWER SECTION:
facebook.com.           889     IN      A       173.252.110.27

;; Query time: 516 msec
;; SERVER: 127.0.0.2#53(127.0.0.2)
;; WHEN: Sun May  5 22:34:14 2013
;; MSG SIZE  rcvd: 46

相关内容