host 配置需要怎么写才能正常生效? #1750
Unanswered
Starseeker-H
asked this question in
Q&A
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
起因是openwrt上使用openclash,会自动劫持内网所有dns请求,为了确保服务在内外网的域名一致,在openclash内设置自定义dns解析如下:
但完全没用,内网 test.test 并不能解析到ip
考虑到是不是openclash的问题,使用 Clash Nyanpasu ,写了个极简配置,只写了dns和hosts
结果如下
所以说,是hosts配置哪里写的有问题吗?还是说需要其他配置配合?
Beta Was this translation helpful? Give feedback.
All reactions