调试了好久,还是无法做到连接权威DNS服务器的IP=你的宽带IP #63
Replies: 12 comments 25 replies
-
经测试是运营商劫持了dns,有办法解决吗? |
Beta Was this translation helpful? Give feedback.
-
C:\Users\Administrator>nslookup tieba.baidu.com 电脑nslookup tieba.baidu.com 没有结果,运营商劫持的话,是不是应该会返回一个结果。 |
Beta Was this translation helpful? Give feedback.
-
换了路由器拨号的debug.sh --- 223.5.5.5 ping statistics --- --- 119.29.29.29 ping statistics --- Non-authoritative answer: Server: 119.29.29.29 Non-authoritative answer: [info] ========== env info ==========
|
Beta Was this translation helpful? Give feedback.
-
这里面debug让我疑惑的是本地递归怎么能递归出FAKEIP的,我觉得你的网络拓扑也有问题。 ----local-unbound CN dig:
7.0.0.26 合理的解释只能是你局域网嵌套了一层DNS,还劫持到FAKEIP去了。 |
Beta Was this translation helpful? Give feedback.
-
测了二次,自己测了一次,和宽带小哥测了一次,nslookup www.taobao.com 9.8.7.6 有结果返回。运营商答复是有cdn加速,做了定向解析。我也感觉本地递归有问题,但不会查。我的网络结构很简单,路由器拨号,接nas,docker装的paopaodns,虚拟机装paopaogw,其他没有了,docker和虚拟机的网络用的是ovs模式,我查了下网卡没有开启混杂模式,不知道有影响没。 |
Beta Was this translation helpful? Give feedback.
-
/data # debug.sh --- 223.5.5.5 ping statistics --- --- 119.29.29.29 ping statistics --- Non-authoritative answer: Server: 119.29.29.29 Non-authoritative answer: [info] ========== env info ==========
|
Beta Was this translation helpful? Give feedback.
-
运营商牛的很,投诉不成功。但paopaodns和ppgw配合是真的好用,速度很多,就是现在有个节点是Hysteria2,内核不支持,ppgw启动失败,大佬有换内核的想法吗?另外既然不能解决劫持,就想把paopaodns里的公共DNS换成运营商的(就是开了CNFALL的话至少也能解析出结果用的dns),但不知道修改哪个文件。 |
Beta Was this translation helpful? Give feedback.
-
我现在用的就是clash meta内核,不支持。clash verge、sing-box可以。 |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
emmmmm。抱歉 |
Beta Was this translation helpful? Give feedback.
-
/data # debug.sh
=====PaoPaoDNS docker debug=====
[info] images build time : 2023-11-03 10:40:36 UTC
[DEBUG-OK]DATA_writeable
[DEBUG-OK]DATA_readable
[info] ========== network info ==========
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
94: eth0@if7: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue state UP
link/ether 02:42:c0:a8:32:05 brd ff:ff:ff:ff:ff:ff
inet 192.168.50.5/24 brd 192.168.50.255 scope global eth0
valid_lft forever preferred_lft forever
default via 192.168.50.1 dev eth0
192.168.50.0/24 dev eth0 scope link src 192.168.50.5
PING 223.5.5.5 (223.5.5.5): 56 data bytes
64 bytes from 223.5.5.5: seq=0 ttl=119 time=4.206 ms
64 bytes from 223.5.5.5: seq=1 ttl=119 time=5.220 ms
--- 223.5.5.5 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 4.206/4.713/5.220 ms
PING 119.29.29.29 (119.29.29.29): 56 data bytes
64 bytes from 119.29.29.29: seq=0 ttl=55 time=4.630 ms
64 bytes from 119.29.29.29: seq=1 ttl=55 time=5.742 ms
--- 119.29.29.29 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 4.630/5.186/5.742 ms
Server: 223.5.5.5
Address: 223.5.5.5#53
Non-authoritative answer:
www.taobao.com canonical name = www.taobao.com.danuoyi.tbcache.com.
Name: www.taobao.com.danuoyi.tbcache.com
Address: 122.13.173.235
Name: www.taobao.com.danuoyi.tbcache.com
Address: 122.13.173.234
Name: www.taobao.com.danuoyi.tbcache.com
Address: 2408:8760:2:21:3::3d1
Name: www.taobao.com.danuoyi.tbcache.com
Address: 2408:8760:2:21:3::3d0
Server: 119.29.29.29
Address: 119.29.29.29#53
Non-authoritative answer:
www.qq.com canonical name = ins-r23tsuuf.ias.tencent-cloud.net.
Name: ins-r23tsuuf.ias.tencent-cloud.net
Address: 109.244.236.65
Name: ins-r23tsuuf.ias.tencent-cloud.net
Address: 109.244.236.76
Name: ins-r23tsuuf.ias.tencent-cloud.net
Address: 240e:97c:2f:2::4c
Name: ins-r23tsuuf.ias.tencent-cloud.net
Address: 240e:97c:2f:1::5c
[info] ========== env info ==========
====ENV TEST====
[OK]DATA_writeable-
[OK]DATA_readable-
MEM:1000m 2000m 1000000 3000mb
prefPC:100
CORES:-4-
POWCORES:-4-
ulimit :-1048576-
FDLIM :-4096-
TZ:-Asia/Shanghai-
UPDATE:-weekly-
DNS_SERVERNAME:-PaoPaoDNS,blog.03k.org-
SERVER_IP:-192.168.50.5-
ETHIP:-192.168.50.5-
DNSPORT:-53-
SOCKS5:-192.168.50.6:1080-
CNAUTO:-yes-
IPV6:-no-
CNFALL:-yes-
CUSTOM_FORWARD:-192.168.50.6:53-
AUTO_FORWARD:-yes-
AUTO_FORWARD_CHECK:-yes-
USE_MARK_DATA:-yes-
RULES_TTL:-0-
CUSTOM_FORWARD_TTL:-0-
SHUFFLE:-no-
CN_TRACKER:-yes-
USE_HOSTS:-no-
HTTP_FILE:-no-
SAFEMODE:--
QUERY_TIME:-2000ms-
ADDINFO:-no-
PLATFORM:-Linux paopaodns 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 Linux-
====ENV TEST====
mosdns kkkgo/mosdns:231103.1
[info] ========== process info ==========
PID USER TIME COMMAND
1 root 0:00 {init.sh} /bin/sh /usr/sbin/init.sh
13 root 0:00 crond
45 root 0:52 redis-server unixsocket:/tmp/redis.sock
157 root 0:10 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt.t
158 root 0:15 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt_s
184 root 0:02 unbound -c /tmp/unbound_forward.conf -p
185 root 0:13 mosdns start -d /tmp -c /tmp/mosdns.yaml
198 root 0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
205 root 0:01 tail -f /dev/null
206 root 0:07 unbound -c /tmp/unbound_raw.conf -p
237 root 0:00 inotifywait -e modify,delete /etc/unbound/named.cache /dat
377 root 0:00 sh
383 root 0:00 {debug.sh} /bin/sh /usr/sbin/debug.sh
399 root 0:00 ps -ef
[info] ========== cn list info ==========
domain:whoami.ds.akahelp.net
domain:whoami.03k.org
[info] ========== reids info ==========
used_memory_human:1.40M
used_memory_rss_human:2.69M
used_memory_peak_human:1.40M
total_system_memory_human:15.44G
used_memory_lua_human:31.00K
used_memory_vm_total_human:63.00K
used_memory_scripts_human:181B
maxmemory_human:2.93G
(integer) 167
[test] IP test, you will see that all the following IPs are your public network exit IP !
[test] ========== IP TEST START ==========
CN IP URL:
115.44.XX.XX
115.44.XX.XX
CN RAW-IP URL:
115.44.XX.XX
Non-CN IP URL:
118.167.18.XXX
118.167.18.XXX
118.167.18.XXX
Non-CN RAW-IP URL:
115.44.XX.XX
115.44.XX.XX
115.44.XX.XX
IP INFO:
115.44.XX.XX
HTTP/1.1
curl/8.4.0
Asia/Shanghai Time: 11/4/2023, 5:57:43 PM
----mosdns whoami aka dig:
"ecs" "36.36.7.1/32/24"
"ns" "81.71.99.228"
"ip" "81.71.99.228"
----local-unbound whoami aka dig:
"ecs" "36.36.7.1/32/24"
"ns" "81.71.99.228"
"ip" "81.71.99.228"
----mosdns whoami 03k dig:
7.0.1.70
----local-unbound whoami 03k dig:
7.0.1.70
[test] ========== IP TEST END ==========
[test] The DNS hijacking test, you will see timed out message !
[test] ========== DNS HIJACK START ==========
Server: 9.8.7.6
Address: 9.8.7.6#53
Non-authoritative answer:
www.qq.com canonical name = ins-r23tsuuf.ias.tencent-cloud.net.
Name: ins-r23tsuuf.ias.tencent-cloud.net
Address: 109.244.236.65
Name: ins-r23tsuuf.ias.tencent-cloud.net
Address: 109.244.236.76
Name: ins-r23tsuuf.ias.tencent-cloud.net
Address: 240e:97c:2f:2::4c
Name: ins-r23tsuuf.ias.tencent-cloud.net
Address: 240e:97c:2f:1::5c
[test] ========== DNS HIJACK END ==========
[test] CN domain test, you will see that the DNS resolution result is CN IP !
[test] ========== CN DOMAIN TEST START ==========
----mosdns CN dig:
7.0.1.52
----local-unbound CN dig:
7.0.0.26
[test] ========== CN DOMAIN TEST END ==========
[test] Non-CN domain test, you will see that the DNS resolution result is correct IP !
[test] ========== Non-CN DOMAIN TEST START ==========
----mosdns Non-CN dig:
7.0.0.10
----dnscrypt-unbound NOCN dig:
youtube-ui.l.google.com.
142.250.180.46
142.250.185.46
----dnscrypt Non-CN dig:
youtube-ui.l.google.com.
142.250.180.46
142.250.185.46
----dnscrypt-socks5 Non-CN dig:
youtube-ui.l.google.com.
74.125.130.190
172.253.118.136
[test] ========== Non-CN DOMAIN TEST END ==========
[test] IPv6 Dual CN test: you will see that IPv6 is OK !
[test] ========== IPV6 CN DOMAIN TEST START ==========
[test] ========== IPV6 CN DOMAIN TEST END ==========
[test] IPv6 Dual Non-CN test: you will see that IPv6 is empty !
[test] ========== IPV6 Non-CN DOMAIN TEST START ==========
[test] ========== IPV6 Non-CN DOMAIN TEST END ==========
[test] IPv6 only Non-CN test: you will see that IPv6 is ok !
[test] ========== IPV6 ONLY Non-CN DOMAIN TEST START ==========
[test] ========== IPV6 ONLY Non-CN DOMAIN TEST END ==========
[info] ALL TEST FINISH.
Beta Was this translation helpful? Give feedback.
All reactions