mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3772] [Feature Request] Resolves the domain name every time when connecting to the FRP server. #3003
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#3003
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 @rikka0w0 on GitHub (Nov 15, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3772
Describe the feature request
Some FRP servers use DDNS to update their IP addresses in their DNS record. Those servers don't have static IP addresses, and their IP address can change frequently.
Currently, frpc only resolves the domain name once when it starts. This behavior makes it unable to detect host IP changes afterward. If the host IP changes while the frpc is running, the connection will be interrupted, and frpc will still try to connect to the old IP address. I encountered this a few times. Restarting frpc locally re-establishes the channel.
I suggest making frpc resolve the domain name whenever it attempts to connect to the server.
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Nov 15, 2023):
When the previously connected frps exits, frpc will connect to the new address, otherwise it will not make any changes.
@github-actions[bot] commented on GitHub (Dec 16, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.