Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否优化一下Bootstrap DNS? #50

Open
PaTTeeL opened this issue Apr 30, 2023 · 1 comment
Open

能否优化一下Bootstrap DNS? #50

PaTTeeL opened this issue Apr 30, 2023 · 1 comment

Comments

@PaTTeeL
Copy link

PaTTeeL commented Apr 30, 2023

安装并启用SmartDNS替代dnsmasq后, 刚开始只配置了纯doh的upstream server, 然后发现dns服务查询无结果, 后面将dnsmasq端口改成5353并设置了server 127.0.0.1:5353 -bootstrap-dns后dns服务恢复正常.

感觉是因为bootstrap没有配置的同时upstream server中又没有ip地址的dns服务器导致的.
我检查了配置文件中是有resolv-file /tmp/resolv.conf.d/resolv.conf.auto部分字段的, 'resolv.conf.auto' 里也有拨号后获得的运营商nameserver.

所以能否优化一下 Bootstrap DNS 的设置, 比如使用resolv-file中的nameserver作为默认的 Bootstrap DNS, 又或者将dnsmasq的端口设为5353, 将其作为默认的 Bootstrap DNS ?

@pymumu
Copy link
Owner

pymumu commented May 23, 2023

如果未配置任何IP地址DNS的情况下,会使用resolv.conf中的DNS解析的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants