比如 Xbox 下载游戏的域名:
; <<>> DiG 9.11.3-1ubuntu1.18-Ubuntu <<>> assets1.xboxlive.com @119.29.29.29
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6559
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 3bcafe6ea68d15d2 (echoed)
;; QUESTION SECTION:
;assets1.xboxlive.com. IN A
;; ANSWER SECTION:
assets1.xboxlive.com. 3600 IN CNAME xbx-fg1-shim.trafficmanager.net.
xbx-fg1-shim.trafficmanager.net. 300 IN CNAME xboxassets.s.llnwi.net.
xboxassets.s.llnwi.net. 60 IN A 111.119.27.128
;; Query time: 502 msec
;; SERVER: 119.29.29.29#53(119.29.29.29)
;; WHEN: Wed Sep 13 14:45:54 CST 2023
;; MSG SIZE rcvd: 155
Xbox 的这个影响不大,因为可以通过修改其他域名加入 IPSet ,让 Xbox 访问 .cn 域名。但是下载应用和更新的时候会有影响,需要访问 dlassets.xboxlive.com 。
NS 下载域名:
; <<>> DiG 9.11.3-1ubuntu1.18-Ubuntu <<>> atum.hac.lp1.d4c.nintendo.net @119.29.29.29
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48930
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 44b99537569de189 (echoed)
;; QUESTION SECTION:
;atum.hac.lp1.d4c.nintendo.net. IN A
;; ANSWER SECTION:
atum.hac.lp1.d4c.nintendo.net. 60 IN CNAME atum.hac.lp1.d4c.nintendo.net.edgesuite.net.
atum.hac.lp1.d4c.nintendo.net.edgesuite.net. 21600 IN CNAME a1822.d.akamai.net.
a1822.d.akamai.net. 60 IN A 23.15.14.16
a1822.d.akamai.net. 60 IN A 23.15.14.9
;; Query time: 386 msec
;; SERVER: 119.29.29.29#53(119.29.29.29)
;; WHEN: Wed Sep 13 14:52:06 CST 2023
;; MSG SIZE rcvd: 185
再比如 cloudflare:
; <<>> DiG 9.11.3-1ubuntu1.18-Ubuntu <<>> cloudflare.com @119.29.29.29
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51713
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: ce158a3842a28813 (echoed)
;; QUESTION SECTION:
;cloudflare.com. IN A
;; ANSWER SECTION:
cloudflare.com. 300 IN A 104.16.133.229
cloudflare.com. 300 IN A 104.16.132.229
;; Query time: 311 msec
;; SERVER: 119.29.29.29#53(119.29.29.29)
;; WHEN: Wed Sep 13 14:47:59 CST 2023
;; MSG SIZE rcvd: 87
但是大家常用的域名,好像就很快,比如时钟域名:
; <<>> DiG 9.11.3-1ubuntu1.18-Ubuntu <<>> time.windows.com @119.29.29.29
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48785
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 08c09d00c9c721ab (echoed)
;; QUESTION SECTION:
;time.windows.com. IN A
;; ANSWER SECTION:
time.windows.com. 3112 IN CNAME twc.trafficmanager.net.
twc.trafficmanager.net. 112 IN A 52.231.114.183
;; Query time: 10 msec
;; SERVER: 119.29.29.29#53(119.29.29.29)
;; WHEN: Wed Sep 13 14:48:54 CST 2023
;; MSG SIZE rcvd: 109
感觉像是招了个新手把配置改坏了。
1
1423 2023-09-13 15:09:15 +08:00
这说明本地 dnsproxy 设置多个 upstream 赛跑是有必要的
|
3
dhuzbb 2023-09-13 15:22:02 +08:00
你需要分流。国外域名使用国外 DNS 解析,国内域名使用国内 DNS 服务解析。
|
4
crzidea OP @dhuzbb 分流了,我有自建的 DNS 。只是有些设备自身的请求,请求比较多有本身没有污染,没有必要增加延时又浪费流量。这个和 DNSPod 慢没有关系。
|
5
gyang1111 2023-09-13 16:17:51 +08:00
或者是说的分流是国外域名走 fake-ip ,这样就不需要本地解析国外域名的 ip 地址了,全丢给梯子解析
|
6
neiltroyer849 2023-09-13 16:19:07 +08:00
DNSPod 还经常出血一些其他莫名其它的问题。在我的网络上观察到好多次把 meituan 域名时而解析到国内,时而解析到国外,后者延迟就会暴涨,用 ali 甚至 114 都没出现类似现象……
|
7
Suzutan 2023-09-14 12:30:24 +08:00 via iPhone
从昨天晚上开始 dnspod 的 doh 在我这里完全不可用,直接访问报 502 ,位置江苏移动
|
8
872517414 2023-09-21 11:40:15 +08:00
@neiltroyer849 #6 https://github.com/pymumu/smartdns/issues/656 有消息称部分公共解析服务会扰乱竞争对手的域名解析场景。
|
9
872517414 2023-09-21 11:57:56 +08:00 1
@crzidea #2 腾讯云/DNSPod 公共解析( Public DNS )限制了域名解析频率: https://www.v2ex.com/t/975827
|
10
linuxgo 2023-10-11 16:45:56 +08:00
用国内 dns 服务器解析国外的地址,那把你访问的地址估计都记录在案了
|