mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4870] [Feature Request] 通过环境变量指定DNS #3840
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3840
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @donmor on GitHub (Jul 4, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4870
Describe the feature request
之前的#700在添加dns_server到ini后关闭了,其实还可以从环境变量读取(比如
DNS_SERVER=8.8.8.8 frpc ...),可以做到动态获取系统dns并在启动frp时应用Describe alternatives you've considered
No response
Affected area
@donmor commented on GitHub (Jul 4, 2025):
另外可以加一个断连之后自动退出的配置,可以靠脚本或app做监视,自动更新dns并重连
@github-actions[bot] commented on GitHub (Jul 19, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
@donmor commented on GitHub (Jul 21, 2025):
还有人看吗😂
@github-actions[bot] commented on GitHub (Aug 5, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.