[Help] test.sh 结果提示 [DNS hijack]127.0.0.1[DNS hijack]"ns" "139.226.191.XX"yyyyyyyyy
runishiwo opened this issue · 0 comments
runishiwo commented
在提交之前,请确认
- 我已经尝试执行test.sh并搜索过Issue和discussions和文档,但没有找到相关问题。
- 我正在使用最新的docker镜像版本(可以尝试
docker pull sliamb/paopaodns:latest
后重新创建容器)。
test.sh脚本自检日志
images build time : 2024-08-14 14:31:42 UTC
check for the latest version ,
go to https://github.com/kkkgo/PaoPaoDNS/discussions
-> test start `1724217419`
yy[DNS hijack]127.0.0.1[DNS hijack]"ns" "139.226.191.XX"yyyyyyyyy
[INFO] TEST FAIL.❌
-> test end `1724217422`
debug.sh脚本自检日志
### == debug.sh : docker exec -it paopaodns sh ==
-> debug start `1724217245`
[INFO] images build time : 2024-08-14 14:31:42 UTC
[OK]DATA_writeable
[OK]DATA_readable
[INFO] NETWORK
*********************************************************************************
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
20: eth0@if21: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue state UP
inet 172.17.0.2/16 brd 172.17.255.255 scope global eth0
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 scope link src 172.17.0.2
traceroute to 120.53.53.53 (120.53.53.53), 4 hops max, 46 byte packets
1 172.17.0.1 (172.17.0.1) 0.012 ms 0.045 ms 0.007 ms
2 172.16.1.1 (172.16.1.1) 1.589 ms 0.648 ms 0.508 ms
3 139.226.191.1 (139.226.191.1) 3.027 ms 3.939 ms 2.818 ms
4 139.226.207.5 (139.226.207.5) 2.487 ms 139.226.204.161 (139.226.204.161) 5.551 ms 139.226.206.213 (139.226.206.213) 5.887 ms
PING 223.5.5.5 (223.5.5.5): 56 data bytes
64 bytes from 223.5.5.5: seq=0 ttl=118 time=4.716 ms
--- 223.5.5.5 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 4.716/4.716/4.716 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.644 ms
--- 119.29.29.29 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 4.644/4.644/4.644 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: 140.207.63.207
Name: www.taobao.com.danuoyi.tbcache.com
Address: 140.207.63.206
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: 116.128.170.212
Name: ins-r23tsuuf.ias.tencent-cloud.net
Address: 58.246.163.58
*********************************************************************************
[INFO] ENV
*********************************************************************************
====ENV TEST====
[OK]DATA_writeable-
[OK]DATA_readable-
MEM:50m 100m 200 100mb
prefPC:9
CORES:-1-
POWCORES:-1-
ulimit :-1048576-
FDLIM :-1-
TZ:-Asia/Shanghai-
UPDATE:-weekly-
DNS_SERVERNAME:-PaoPaoDNS,blog.03k.org-
SERVER_IP:-none-
ETHIP:-172.17.0.2-
DNSPORT:-53-
SOCKS5:-no-
CNAUTO:-yes-
IPV6:-no-
CNFALL:-yes-
CUSTOM_FORWARD:-10.0.0.1:7874-
AUTO_FORWARD:-yes-
AUTO_FORWARD_CHECK:-yes-
USE_MARK_DATA:-yes-
RULES_TTL:-0-
CUSTOM_FORWARD_TTL:-0-
SHUFFLE:-no-
EXPIRED_FLUSH:-yes-
CN_TRACKER:-yes-
USE_HOSTS:-no-
HTTP_FILE:-yes-
SAFEMODE:-no-
QUERY_TIME:-2000ms-
ADDINFO:-no-
PLATFORM:-Linux e4a0eaf9478b 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 Linux-
====ENV TEST====
mosdns kkkgo/mosdns:240809.1
total 3M
4.0K drwxrwxrwx 3 0 0 4.0K Aug 21 11:31 .
4.0K drwxr-xr-x 1 0 0 4.0K Aug 20 23:31 ..
260.0K -rw-r--r-- 1 0 0 259.2K Aug 20 23:31 Country-only-cn-private.mmdb
0 -rwxrwxrwx 1 0 0 0 Aug 20 23:22 custom_cn_mark.txt
4.0K -rwxrwxrwx 1 0 0 233 Aug 20 23:22 custom_env.ini
4.0K -rwxrwxrwx 1 0 0 416 Aug 20 23:31 custom_mod.yaml
4.0K drwxr-xr-x 2 0 0 4.0K Aug 20 23:31 dnscrypt-resolvers
4.0K -rw-r--r-- 1 0 0 3.0K Aug 20 23:31 dnscrypt.toml
4.0K -rwxrwxrwx 1 0 0 670 Aug 20 23:22 force_dnscrypt_list.txt
4.0K -rwxrwxrwx 1 0 0 325 Aug 20 23:22 force_forward_list.txt
4.0K -rwxrwxrwx 1 0 0 387 Aug 20 23:22 force_recurse_list.txt
1.3M -rw-r--r-- 1 0 0 1.3M Aug 20 23:34 global_mark.dat
12.0K -rw-r--r-- 1 0 0 10.0K Aug 20 23:31 mosdns.yaml
8.0K -rw-r--r-- 1 0 0 5.7K Aug 20 23:31 redis.conf
976.0K -rw-r--r-- 1 0 0 973.1K Aug 21 11:31 redis_dns_v2.rdb
16.0K -rwxrwxrwx 1 0 0 13.6K Aug 20 23:22 trackerslist.txt
52.0K -rw-r--r-- 1 0 0 50.9K Aug 20 23:31 unbound.conf
4.0K -rwxrwxrwx 1 0 0 289 Aug 20 23:22 unbound_custom.conf
*********************************************************************************
[INFO] PS
*********************************************************************************
PID USER TIME COMMAND
1 root 0:00 {init.sh} /bin/sh /usr/sbin/init.sh
23 root 0:00 crond
56 root 1:22 redis-server unixsocket:/tmp/redis.sock
174 root 0:24 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt.toml
193 root 0:02 unbound -c /tmp/unbound_forward.conf -p
205 root 1:39 mosdns start -d /tmp -c /tmp/mosdns.yaml
216 root 1:08 unbound -c /tmp/unbound_raw.conf -p
217 root 0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
220 root 0:02 tail -f /dev/null
254 root 0:00 inotifywait -e modify,delete /etc/unbound/named.cache /data/Country-only-cn-private.mmdb /data/force_recurse_list.txt /data/force_dnscrypt_list.txt /data/custom_env.ini /data/global_mark.dat /data/custom_cn_mark.txt /data/trackerslist.txt /data/force_forward_list.txt
3699 root 0:00 {debug.sh} /bin/sh /usr/sbin/debug.sh
3721 root 0:00 ps -ef
216 root 1:08 unbound -c /tmp/unbound_raw.conf -p
unbound OK.
193 root 0:02 unbound -c /tmp/unbound_forward.conf -p
unbound_forward OK.
*********************************************************************************
[INFO] TOP
*********************************************************************************
CPU: 4% usr 4% sys 0% nic 85% idle 0% io 0% irq 4% sirq
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
205 1 root S 1212m 62% 2 2% mosdns start -d /tmp -c /tmp/mosdn
174 1 root S 1211m 62% 2 2% dnscrypt-proxy -config /data/dnscr
216 1 root S 13760 1% 2 2% unbound -c /tmp/unbound_raw.conf -
56 1 root S 24800 1% 0 0% redis-server unixsocket:/tmp/redis
193 1 root S 12348 1% 0 0% unbound -c /tmp/unbound_forward.co
217 1 root S 1704 0% 1 0% {watch_list.sh} /bin/sh /usr/sbin/
1 0 root S 1644 0% 0 0% {init.sh} /bin/sh /usr/sbin/init.s
3699 0 root S 1640 0% 2 0% {debug.sh} /bin/sh /usr/sbin/debug
3728 3699 root R 1636 0% 0 0% top -n1
220 1 root S 1628 0% 3 0% tail -f /dev/null
3729 3699 root S 1624 0% 1 0% grep %
254 217 root S 1084 0% 3 0% inotifywait -e modify,delete /etc/
23 1 root S 872 0% 3 0% crond
*********************************************************************************
[INFO] REDIS
*********************************************************************************
used_memory_human:2.58M
used_memory_rss_human:3.69M
used_memory_peak_human:2.58M
total_system_memory_human:1.92G
used_memory_lua_human:31.00K
used_memory_vm_total_human:63.00K
used_memory_scripts_human:181B
maxmemory_human:100.00M
9650
*********************************************************************************
[TEST] IP ROUTE
*********************************************************************************
CN IP URL:
139.226.191.XX
-
139.226.191.XX
--
139.226.191.XX
CN RAW-IP URL:
139.226.191.XX
------------------
Non-CN IP URL:
148.153.230.3
-
139.226.191.XX
--
148.153.230.3
Non-CN RAW-IP URL:
148.153.230.3
-
148.153.230.3
--
148.153.230.3
---
148.153.230.3
------------------
IP INFO:
148.153.230.3
HK,undefined,undefined
ASN63199/CDS Global Cloud
HTTP/1.1
Mozilla/5.0 Gecko/20100101 Firefox/120.0 https://github.com/kkkgo/PaoPaoDNS
Asia/Hong_Kong Time: 8/21/2024, 1:14:10 PM
[INFO] force_recurse_list
domain:whoami.ds.akahelp.net
domain:whoami.03k.org
MOSDNS WHOAMI :
MOSDNS akahelp: "ns" "139.226.191.XX"
MOSDNS 03k: 139.226.191.XX
UNBOUND WHOAMI:
UNBOUND akahelp: "ns" "139.226.191.XX"
UNBOUND 03k: 139.226.191.XX
*********************************************************************************
[TEST] HIJACK
*********************************************************************************
ins-r23tsuuf.ias.tencent-cloud.net.
116.128.170.212
58.246.163.58
"ns" "139.226.191.XX"
HIJACK 127.0.0.1 = 127.0.0.1
*********************************************************************************
[TEST] DIG-CN [taobao]
*********************************************************************************
MOSDNS CN:
www.taobao.com.danuoyi.tbcache.com.
140.207.63.207
140.207.63.206
UNBOUND CN:
www.taobao.com.danuoyi.tbcache.com.
140.207.63.206
140.207.63.207
[TEST] DIG-NOCN [youtube]
MOSDNS NOCN:
31.13.106.4
DNSCRYPT-UNBOUND NOCN:
youtube-ui.l.google.com.
216.58.209.14
142.250.203.206
DNSCRYPT NOCN:
youtube-ui.l.google.com.
142.250.75.14
142.250.186.206
DNSCRYPT-SOCKS5 NOCN:
;; communications error to 127.0.0.1#5303: connection refused
;; no servers could be reached
*********************************************************************************
CUSTOM_FORWARD TEST [youtube]:
31.13.106.4
CUSTOM_FORWARD TEST [taobao]:
www.taobao.com.danuoyi.tbcache.com.
140.207.63.207
140.207.63.206
*********************************************************************************
[TEST] DUAL CN [IPv6=YES will have aaaa,taobao]
*********************************************************************************
[TEST] DUAL NOCN [IPv6=YES will block aaaa,youtube]
[TEST] ONLY6 [IPv6=only6 will block aaaa if a ok]
checkipv6.synology.com : ip6.03k.org : 6.ipw.cn :
*********************************************************************************
[info] ALL TEST FINISH.
-> debug end `1724217251`
问题描述和复现步骤
139.226.191.XX是当前的公网IP
宿主机DNS是自己127.0.0.1
主路由是ikuai,DNS都设置成了paopaodns宿主机的IP地址-。- 但是在宿主机上测试还是不通过
是因为挂了个OP的旁路导致的吗