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

[Feature request] 希望添加dns地址来源于dhcp #742

Open
skill7899 opened this issue Oct 28, 2023 · 2 comments
Open

[Feature request] 希望添加dns地址来源于dhcp #742

skill7899 opened this issue Oct 28, 2023 · 2 comments

Comments

@skill7899
Copy link

skill7899 commented Oct 28, 2023

希望添加的功能

目前很多的国内运营商下发的dns,已经做好国内了cdn的。路由器重新拔号,下发的地址可能会发生变化,不能靠人手来维护。 希望添加来源来dhcp的功能

  • tag: forward_local
    type: forward
    args:
    concurrent: 2
    upstreams:
    - addr: "dhcp://eth0"
    bootstrap: 119.29.29.29
    enable_pipeline: true
    max_conns: 2
    insecure_skip_verify: false
    idle_timeout: 30
@IrineSistiana
Copy link
Owner

路由器重新拔号,下发的地址可能会发生变化

可能。但一般几年不会变一次。很多地方基本上自从网络建成,十几年,没变过。

@skill7899
Copy link
Author

路由器重新拔号,下发的地址可能会发生变化

可能。但一般几年不会变一次。很多地方基本上自从网络建成,十几年,没变过。

还有一种情况,我安装mosdns在本机的,公司是内网有些网站需要公司的dns才能解析,要是我直接写死公司的dns,回到家,又要修改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