Replies: 1 comment
-
不知道那一步出错了,关外DNS污染很严重,使用国内的加密DNS都没法解决,只能想法从自己家里解析结果了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
配置如下
type: http_server
args:
entries: # []extry
- path: /dns-query # 本路径执行
exec: main_sequence # 可执行插件的 tag。
src_ip_header: "X-Forwarded-For" # 从 HTTP 头获取用户 IP。
listen: 127.0.0.1:12353 # 监听地址。
cert: "/etc/uhttpd.crt" # 留空 cert 和 key 后会禁用 TLS。
key: "/etc/uhttpd.key"
idle_timeout: 10 # 空连接超时。单位秒。默认 30。
使用https://github.com/natesales/q工具得到的结果是
.\q.exe baidu.com @https://:12353/dns-query
time="2024-04-15T21:46:17+08:00" level=fatal msg="requesting https://:12353/dns-query?dns=r0cBAAABAAAAAAAAB2ZrY2xvdWQGb25saW5lAAABAAE: Get "https://************:12353/dns-query?dns=r0cBAAABAAAAAAAAB2ZrY2xvdWQGb25saW5lAAABAAE": dial tcp ************:12353: connectex: No connection could be made because the target machine actively refused it."
Beta Was this translation helpful? Give feedback.
All reactions