-
在提交之前,请确认
脚本自检日志=====PaoPaoDNS docker debug=====
[info] images build time : 2023-08-19 17:59:35 UTC
[info] ========== env info ==========
====ENV TEST====
MEM:220m 450m 500000 750mb
prefPC:68
CORES:-2-
POWCORES:-2-
ulimit :-524288-
FDLIM :-4096-
TZ:-Asia/Shanghai-
UPDATE:-weekly-
DNS_SERVERNAME:-PaoPaoDNS2.xhome.top-
SERVER_IP:-none-
ETHIP:-192.168.2.3-
DNSPORT:-5335-
SOCKS5:-IP:PORT-
CNAUTO:-yes-
IPV6:-yes-
CNFALL:-yes-
CUSTOM_FORWARD:-IP:PORT-
AUTO_FORWARD:-no-
AUTO_FORWARD_CHECK:-yes-
USE_MARK_DATA:-no-
RULES_TTL:-300-
CN_TRACKER:-yes-
USE_HOSTS:-no-
HTTP_FILE:-no-
SAFEMODE:--
QUERY_TIME:-2000ms-
ADDINFO:-no-
PLATFORM:-Linux paopaodns2.xhome.top 6.2.16-8-pve #1 SMP PREEMPT_DYNAMIC PMX 6.2.16-8 (2023-08-02T12:17Z) x86_64 Linux-
====ENV TEST====
[info] ========== process info ==========
PID USER TIME COMMAND
1 root 0:00 {init.sh} /bin/sh /usr/sbin/init.sh
11 root 0:00 crond
164 root 0:00 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt.toml
167 root 0:00 mosdns start -d /tmp -c mosdns.yaml
184 root 0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
185 root 0:00 {data_update.sh} /bin/sh /usr/sbin/data_update.sh
189 root 0:00 sleep 146
195 root 0:00 redis-server unixsocket:/tmp/redis.sock
196 root 0:00 unbound -c /tmp/unbound_forward.conf -p
201 root 0:00 unbound -c /tmp/unbound_raw.conf -p
224 root 0:00 inotifywait -e modify,delete /etc/unbound/named.cache /data/Country-only-cn-private.mmdb /data/force_cn_list.txt /data/force_nocn_list
228 root 0:00 {debug.sh} /bin/sh /usr/sbin/debug.sh
238 root 0:00 ps -ef
[info] ========== cn list info ==========
domain:whoami.ds.akahelp.net
domain:whoami.03k.org
[info] ========== reids info ==========
used_memory_human:911.03K
used_memory_rss_human:6.62M
used_memory_peak_human:943.94K
total_system_memory_human:7.67G
used_memory_lua_human:31.00K
used_memory_vm_total_human:63.00K
used_memory_scripts_human:181B
maxmemory_human:750.00M
(integer) 3
[test] IP test, you will see that all the following IPs are your public network exit IP !
[test] ========== IP TEST START ==========
CN IP URL:
27.154.15.31
27.154.15.31
------------------
Non-CN IP URL:
27.154.15.31
27.154.15.31
27.154.15.31
27.154.15.31
27.154.15.31
------------------
IP INFO:
27.154.15.31
CN,Xiamen,Fujian
ASN4134/China Telecom
HTTP/1.1
curl/8.2.1
Asia/Shanghai Time: 9/2/2023, 2:35:41 AM
------------------
----mosdns whoami aka dig:
"ns" "27.154.15.31"
------------------
----local-unbound whoami aka dig:
"ns" "240e:37a:2096:2102:84d1:3bff:fee1:69be"
------------------
----mosdns whoami 03k dig:
27.154.15.31
------------------
----local-unbound whoami 03k dig:
27.154.15.31
[test] ========== IP TEST END ==========
[test] The DNS hijacking test, you will see timed out message !
[test] ========== DNS HIJACK START ==========
;; communications error to 6.7.8.9#53: timed out
;; communications error to 6.7.8.9#53: timed out
;; communications error to 6.7.8.9#53: timed out
;; no servers could be reached
[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:
www.taobao.com.danuoyi.tbcache.com.
106.227.21.185
106.227.21.184
------------------
----local-unbound CN dig:
www.taobao.com.danuoyi.tbcache.com.
106.227.21.185
106.227.21.184
[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:
youtube-ui.l.google.com.
142.251.46.206
142.251.32.46
------------------
----dnscrypt-unbound NOCN dig:
youtube-ui.l.google.com.
142.251.220.46
142.251.220.78
------------------
----dnscrypt Non-CN dig:
youtube-ui.l.google.com.
142.250.72.206
172.217.12.110
------------------
----dnscrypt-socks5 Non-CN dig:
;; communications error to 127.0.0.1#5303: connection refused
;; communications error to 127.0.0.1#5303: connection refused
;; communications error to 127.0.0.1#5303: connection refused
[test] ========== Non-CN DOMAIN TEST END ==========
[test] IPv6 Dual CN test: you will see that IPv6 is OK !
[test] ========== IPV6 CN DOMAIN TEST START ==========
www.taobao.com.danuoyi.tbcache.com.
240e:960:c00:5:3::3c7
240e:960:c00:5:3::3c8
ins-r23tsuuf.ias.tencent-cloud.net.
240e:97c:2f:1::5c
240e:97c:2f:2::4c
[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 ==========
2606:4700:3034::6815:15ef
2606:4700:3037::ac43:c96c
ddns-checkipv6.quickconnect.to.
checkipv6.digitalocean.synology.com.
2604:a880:2:d0::2206:5001
2604:a880:2:d0::230f:1
2604:a880:2:d0::2245:7001
2604:a880:2:d0::2252:d001
2604:a880:2:d0::2049:2001
2604:a880:2:d0::2076:5001
2604:a880:2:d0::1700:7001
2604:a880:2:d0::22b5:d001
2604:a880:2:d0::220d:b001
[test] ========== IPV6 ONLY Non-CN DOMAIN TEST END ==========
[info] ALL TEST FINISH. 问题描述和复现步骤在 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
你可以修改容器的映射端口,而不是配置文件的端口。 |
Beta Was this translation helpful? Give feedback.
-
比如你想要映射8888到53: |
Beta Was this translation helpful? Give feedback.
-
好的,我试试。 |
Beta Was this translation helpful? Give feedback.
-
用host网络模式的话,不能保证你定义的端口和容器的其他服务端口不会冲突。如果想以DNS上游的方式工作或者不想和host的53端口冲突,可以用普通的bridge网络模式或者macvlan网络模式。 |
Beta Was this translation helpful? Give feedback.
你可以修改容器的映射端口,而不是配置文件的端口。