Closed AlexAfterbeer closed 3 years ago
应该是 dead loop (无限循环), 通常出现在 dns.
看你的 config, router第一条是 dns-in -> dns-out 但 dns-out "domainStrategy": "UseIP" 又回到 dns-in
需然 router 第三条是 8.8.8.8 -> proxy, 但永远去不到
如想测试是否 router dns-in -> dns-out 出问题, 可先删除这行, 看看还有没有 address already in use
但 dns-out "domainStrategy" 好像放错位置
修改前:
"outbounds": [
{
"tag": "direct",
"protocol": "freedom",
"settings": { "domainStrategy": "UseIP" },
"streamSettings": { "sockopt": { "mark": 2 } }
},
{
"tag": "dns_out",
"protocol": "dns",
"settings": { },
"streamSettings": { "sockopt": { "mark": 2 , "domainStrategy": "UseIP" } }
},
.....
]
修改後:
"outbounds": [
{
"tag": "direct",
"protocol": "freedom",
"settings": { "domainStrategy": "UseIP" },
"streamSettings": { "sockopt": { "mark": 2 } }
},
{
"tag": "dns_out",
"protocol": "dns",
"settings": { "domainStrategy": "UseIP" },
"streamSettings": { "sockopt": { "mark": 2} }
},
应该是 dead loop (无限循环), 通常出现在 dns.
看你的 config, router第一条是 dns-in -> dns-out 但 dns-out "domainStrategy": "UseIP" 又回到 dns-in
需然 router 第三条是 8.8.8.8 -> proxy, 但永远去不到
如想测试是否 router dns-in -> dns-out 出问题, 可先删除这行, 看看还有没有 address already in use
但 dns-out "domainStrategy" 好像放错位置
修改前: "outbounds": [ { "tag": "direct", "protocol": "freedom", "settings": { "domainStrategy": "UseIP" }, "streamSettings": { "sockopt": { "mark": 2 } } }, { "tag": "dns_out", "protocol": "dns", "settings": { }, "streamSettings": { "sockopt": { "mark": 2 , "domainStrategy": "UseIP" } } }, ..... ] 修改後: "outbounds": [ { "tag": "direct", "protocol": "freedom", "settings": { "domainStrategy": "UseIP" }, "streamSettings": { "sockopt": { "mark": 2 } } }, { "tag": "dns_out", "protocol": "dns", "settings": { "domainStrategy": "UseIP" }, "streamSettings": { "sockopt": { "mark": 2} } },
您好, 感谢你的回复, 这个dns_in > dns_out 确实是有问题 , 我按照您说的,把router的dns_in > dns_out删了, 又把dns_out的 domainStrategy也删了, 之后就正常跑起来了. 谢谢你
Assuming the problem has been solved.
工作环境
2.故障现象
配置
iptables脚本
系统端口使用情况
Error Log记录