[Help] paopaoDNS搭建成功,显示ALL TEST PASS。但是adguardhome添加上游dns显示“服务器 "10.0.0.5":无法使用,请检查你输入的是否正确”。
sunshinehcyyy opened this issue · 3 comments
sunshinehcyyy commented
在提交之前,请确认
- 我已经尝试执行test.sh并搜索过Issue和discussions和文档,但没有找到相关问题。
- 我正在使用最新的docker镜像版本(可以尝试
docker pull sliamb/paopaodns:latest
后重新创建容器)。
test.sh脚本自检日志
*********************************************************************************
images build time : 2024-05-18 07:45:21 UTC
check for the latest version ,
go to https://github.com/kkkgo/PaoPaoDNS/discussions
-> test start `1716632162`
[INFO] ALL TEST PASS.✅
-> test end `1716632180`
*********************************************************************************
debug.sh脚本自检日志
-> debug start `1716632273`
[INFO] images build time : 2024-05-18 07:45:21 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
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
inet 10.0.0.5/24 scope global eth0
inet6 2409:8a44:8817:e2b1:4094:7dff:fee3:a82b/64 scope global dynamic flags 100
inet6 fe80::4094:7dff:fee3:a82b/64 scope link
3: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
inet6 fe80::42:e2ff:fe7c:ace6/64 scope link
5: vethbcf35d1@if4: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue master docker0 state UP
inet6 fe80::243d:46ff:feb1:49d2/64 scope link
default via 10.0.0.1 dev eth0 metric 1 onlink
10.0.0.0/24 dev eth0 scope link src 10.0.0.5
172.17.0.0/16 dev docker0 scope link src 172.17.0.1
PING 223.5.5.5 (223.5.5.5): 56 data bytes
64 bytes from 223.5.5.5: seq=0 ttl=116 time=26.049 ms
--- 223.5.5.5 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 26.049/26.049/26.049 ms
PING 119.29.29.29 (119.29.29.29): 56 data bytes
64 bytes from 119.29.29.29: seq=0 ttl=53 time=26.850 ms
--- 119.29.29.29 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 26.850/26.850/26.850 ms
;; communications error to 223.5.5.5#53: timed out
;; communications error to 223.5.5.5#53: timed out
;; communications error to 223.5.5.5#53: timed out
;; no servers could be reached
;; communications error to 119.29.29.29#53: timed out
;; communications error to 119.29.29.29#53: timed out
;; communications error to 119.29.29.29#53: timed out
;; no servers could be reached
*********************************************************************************
[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:-10.0.0.5-
DNSPORT:-53-
SOCKS5:-no-
CNAUTO:-yes-
IPV6:-yes_only6-
CNFALL:-yes-
CUSTOM_FORWARD:-10.0.0.2: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:-yes-
SAFEMODE:-no-
QUERY_TIME:-2000ms-
ADDINFO:-no-
PLATFORM:-Linux localhost 6.6.31-0-virt #1-Alpine SMP PREEMPT_DYNAMIC Fri, 17 May 2024 12:37:38 +0000 x86_64 Linux-
====ENV TEST====
mosdns kkkgo/mosdns:240322.2
total 3M
4.0K drwxrwxrwx 3 0 0 4.0K May 25 17:40 .
4.0K drwxr-xr-x 1 0 0 4.0K May 25 10:50 ..
260.0K -rwxrwxrwx 1 0 0 256.7K May 25 10:51 Country-only-cn-private.mmdb
4.0K -rwxrwxrwx 1 0 0 233 May 25 10:06 custom_env.ini
4.0K -rwxrwxrwx 1 0 0 416 May 25 11:40 custom_mod.yaml
4.0K drwxrwxrwx 2 0 0 4.0K May 25 11:40 dnscrypt-resolvers
4.0K -rwxrwxrwx 1 0 0 3.0K May 25 10:51 dnscrypt.toml
4.0K -rwxrwxrwx 1 0 0 445 May 24 19:24 force_dnscrypt_list.txt
4.0K -rwxrwxrwx 1 0 0 370 May 24 19:24 force_forward_list.txt
4.0K -rwxrwxrwx 1 0 0 387 May 24 19:24 force_recurse_list.txt
1.3M -rwxrwxrwx 1 0 0 1.3M May 25 11:41 global_mark.dat
12.0K -rwxrwxrwx 1 0 0 9.8K May 25 10:51 mosdns.yaml
8.0K -rwxrwxrwx 1 0 0 5.7K May 25 10:50 redis.conf
800.0K -rw-r--r-- 1 0 0 796.9K May 25 17:40 redis_dns_v2.rdb
16.0K -rwxrwxrwx 1 0 0 12.9K May 25 10:06 trackerslist.txt
52.0K -rwxrwxrwx 1 0 0 50.5K May 25 10:50 unbound.conf
4.0K -rwxrwxrwx 1 0 0 289 May 24 19:24 unbound_custom.conf
*********************************************************************************
[INFO] PS
*********************************************************************************
PID USER TIME COMMAND
1 root 0:00 {init.sh} /bin/sh /usr/sbin/init.sh
13 root 0:00 crond
45 root 0:57 redis-server unixsocket:/tmp/redis.sock
154 root 0:57 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt.toml
158 root 0:17 unbound -c /tmp/unbound_forward.conf -p
167 root 2:12 mosdns start -d /tmp -c /tmp/mosdns.yaml
184 root 1:55 unbound -c /tmp/unbound_raw.conf -p
185 root 0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
191 root 0:01 tail -f /dev/null
222 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/trackerslist.txt /data/force_forward_list.txt
752 root 0:00 {debug.sh} /bin/sh /usr/sbin/debug.sh
773 root 0:00 ps -ef
184 root 1:55 unbound -c /tmp/unbound_raw.conf -p
unbound OK.
158 root 0:17 unbound -c /tmp/unbound_forward.conf -p
unbound_forward OK.
*********************************************************************************
[INFO] TOP
*********************************************************************************
CPU: 0% usr 0% sys 0% nic 95% idle 0% io 4% irq 0% sirq
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
167 1 root S 1211m 61% 1 0% mosdns start -d /tmp -c /tmp/mosdn
154 1 root S 1210m 61% 0 0% dnscrypt-proxy -config /data/dnscr
184 1 root S 29672 1% 1 0% unbound -c /tmp/unbound_raw.conf -
45 1 root S 24276 1% 0 0% redis-server unixsocket:/tmp/redis
158 1 root S 12228 1% 0 0% unbound -c /tmp/unbound_forward.co
185 1 root S 1712 0% 1 0% {watch_list.sh} /bin/sh /usr/sbin/
1 0 root S 1632 0% 1 0% {init.sh} /bin/sh /usr/sbin/init.s
752 0 root S 1628 0% 1 0% {debug.sh} /bin/sh /usr/sbin/debug
780 752 root R 1624 0% 1 0% top -n1
191 1 root S 1616 0% 1 0% tail -f /dev/null
781 752 root S 1612 0% 0 0% grep %
222 185 root S 1072 0% 0 0% inotifywait -e modify,delete /etc/
13 1 root S 860 0% 1 0% crond
*********************************************************************************
[INFO] REDIS
*********************************************************************************
used_memory_human:2.15M
used_memory_rss_human:5.36M
used_memory_peak_human:2.15M
total_system_memory_human:1.93G
used_memory_lua_human:31.00K
used_memory_vm_total_human:63.00K
used_memory_scripts_human:181B
maxmemory_human:100.00M
3219
*********************************************************************************
[TEST] IP ROUTE
*********************************************************************************
CN IP URL:
-
--
CN RAW-IP URL:
39.149.229.46
------------------
Non-CN IP URL:
193.122.113.204
-
193.122.113.204
--
193.122.113.204
Non-CN RAW-IP URL:
39.149.229.46
-
39.149.229.46
--
39.149.229.46
---
39.149.229.46
------------------
IP INFO:
39.149.229.46
CN,Zhengzhou,Henan
ASN24445/Henan Mobile Communications Co.
HTTP/1.1
Mozilla/5.0 Gecko/20100101 Firefox/120.0 https://github.com/kkkgo/PaoPaoDNS
Asia/Shanghai Time: 5/25/2024, 6:18:35 PM
[INFO] force_recurse_list
domain:whoami.ds.akahelp.net
domain:whoami.03k.org
MOSDNS WHOAMI :
MOSDNS akahelp: "ns" "2409:8a44:8817:e2b1:4094:7dff:fee3:a82b"
MOSDNS 03k: UNBOUND WHOAMI:
UNBOUND akahelp: "ns" "2409:8a44:8817:e2b1:4094:7dff:fee3:a82b"
UNBOUND 03k: ;; communications error to 127.0.0.1#5301: timed out
;; communications error to 127.0.0.1#5301: timed out
;; communications error to 127.0.0.1#5301: timed out
;; no servers could be reached
*********************************************************************************
[TEST] HIJACK
*********************************************************************************
;; communications error to 9.8.7.5#53: timed out
;; no servers could be reached
;; communications error to 9.8.7.6#53: timed out
;; no servers could be reached
HIJACK 127.0.0.1 = ;; communications error to 114.114.114.114#53: timed out
;; communications error to 114.114.114.114#53: timed out
;; communications error to 114.114.114.114#53: timed out
;; no servers could be reached
*********************************************************************************
[TEST] DIG-CN [taobao]
*********************************************************************************
MOSDNS CN:
www.taobao.com.danuoyi.tbcache.com.
183.204.83.195
183.204.83.196
UNBOUND CN:
www.taobao.com.danuoyi.tbcache.com.
183.204.83.195
183.204.83.196
[TEST] DIG-NOCN [youtube]
MOSDNS NOCN:
11.0.0.14
DNSCRYPT-UNBOUND NOCN:
youtube-ui.l.google.com.
142.251.37.174
142.251.37.206
DNSCRYPT NOCN:
youtube-ui.l.google.com.
142.250.68.46
142.250.68.78
DNSCRYPT-SOCKS5 NOCN:
;; communications error to 127.0.0.1#5303: connection refused
;; no servers could be reached
*********************************************************************************
CUSTOM_FORWARD TEST [youtube]:
11.0.0.14
CUSTOM_FORWARD TEST [taobao]:
11.0.0.15
*********************************************************************************
[TEST] DUAL CN [IPv6=YES will have aaaa,taobao]
*********************************************************************************
www.taobao.com.danuoyi.tbcache.com.
2409:8c44:b00:ff15:3::3d8
2409:8c44:b00:ff15:3::3d9
[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 : 2606:4700:3037::ac43:c96c
2606:4700:3034::6815:15ef
6.ipw.cn :
*********************************************************************************
[info] ALL TEST FINISH.
-> debug end `1716632354`
问题描述和复现步骤
paopaoDNS搭建成功,显示ALL TEST PASS。但是adguardhome添加上游dns显示“服务器 "10.0.0.5":无法使用,请检查你输入的是否正确”。
kkkgo commented
你应该检查你的adguardhome和你的容器网络是否能够通讯,比如执行adguardhome到容器的ping。
测试表明至少在容器内部是通讯正常的。
如果adguardhome是macvlan网络,需注意macvlan网络默认和宿主不互通。
kkkgo commented
另外奇怪的是查询公共DNS全部timeout,不知道是你的运营商还是你的防火墙限制。
sunshinehcyyy commented
你应该检查你的adguardhome和你的容器网络是否能够通讯,比如执行adguardhome到容器的ping。 测试表明至少在容器内部是通讯正常的。 如果adguardhome是macvlan网络,需注意macvlan网络默认和宿主不互通。
adguardhome是通过ikuai自带的docker搭建的,也是我一直使用的方案,我试过从ppdns容器ping我的adguardhome的IP还有从adguardhome的容器内ping我的ppdns 的ip,都能ping通的。但是就是提示这个地址不能用。就很奇怪