Comments (4)
不确定是不是代理自身的问题,可以关闭试试。
第 2 个问题,未测试,不过有可能:
- 规则是:有国内 IP 的,优先选择国内 IP
- 有时候虽然设置了 ECS,谷歌服务器返回的却不是离它最近的 IP,这可能和 DNS 解析配置有关系。
from cleandns.
dns server 使用的是 UDP,请确认下代理支持 UDP。或者 dns_server 换用 tcp 模式:tcp://8.8.8.8:53。
from cleandns.
tcp://8.8.8.8:53
也试过了,还是不行,路由器的 shadowsocks 代理我在 luci 界面开启了 “代理自身”,请问跟这个有关系吗?会不会导致死循环之类的...?
from cleandns.
顺便一提,好像有个小问题:我的国内 IP 和国外 IP 分别填的是**大陆和美国洛杉矶,测试了其它网站都没有问题,但是测试 facebook 的时候不知道为什么会返回距离**大陆位置近的 IP
C:\Users\Administrator>dig www.facebook.com @192.168.1.1 -p 5354
; <<>> DiG 9.14.1 <<>> www.facebook.com @192.168.1.1 -p 5354
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61156
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
; CLIENT-SUBNET: <洛杉矶 VPS 的 IP>/24/0
;; QUESTION SECTION:
;www.facebook.com. IN A
;; ANSWER SECTION:
www.facebook.com. 3497 IN CNAME star-mini.c10r.facebook.com.
star-mini.c10r.facebook.com. 7 IN A 31.13.95.36
;; Query time: 16 msec
;; SERVER: 192.168.1.1#5354(192.168.1.1)
;; WHEN: Fri Aug 09 21:21:11 **标准时间 2019
;; MSG SIZE rcvd: 156
返回的结果 31.13.95.36
是 facebook 香港 CDN 的 IP, 为什么不是接近洛杉矶的 CDN IP?
EDIT:
似乎是 8.8.8.8:53
的问题,改成 tcp://8.8.8.8:53
再 dig 结果又正常了
from cleandns.
Related Issues (13)
- 这个和ChinaDNS的区别是什么?除过支持ECS之外还有什么新特性么? HOT 2
- 一些建议和疑问 HOT 4
- 可以 release 一个新版本吗? HOT 1
- 会考虑添加 tls、https 等 DNS 查询模式么? HOT 1
- 希望把cleandns_chnroute.txt和cleandns_chnroute6.txt合并成一个文件 HOT 1
- ECS发送及score得分问题
- 关于 CleanDNS 配置的疑问 HOT 6
- 解析报错 HOT 2
- 支持 daemon 的方式后台运行 HOT 1
- 现在的版本 (0.3.1) 必须要设置两个上游吗? HOT 8
- DNS 偶尔会被污染 HOT 11
- 能否添加一种 TCP 查询 DNS 的模式? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cleandns.