mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #3931] 服务器必须使用IPV4地址吗,怎么才能使用二级域名做为服务器地址呢? #3119
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#3119
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 @a7858250 on GitHub (Jan 12, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/3931
Describe the feature request
服务器必须使用IPV4地址吗,怎么才能使用二级域名做为服务器地址呢?
因为我们的网络基本上很少有固定的IPV4公网地址,都是动态的IPV4地址,每次重启ADSL后就会获得一个新的IPV4地址,如果可以用二级域名作为服务器地址的话就好很多了,
在openwrt中的frp客户端中
当我用二级域名作为服务器地址的时候,控制台上就会显示客户端离线
Describe alternatives you've considered
No response
Affected area
@superzjg commented on GitHub (Jan 13, 2024):
域名正确解析后使用
@a7858250 commented on GitHub (Jan 13, 2024):
2024/01/13 00:00:59 [W] [service.go:134] login to server failed: dial tcp: lookup frps.worktool.com on [::1]:53: server misbehaving
域名解析是正确的 因为我用域名访问仪表盘是没问题了,只是仪表盘中的tcp协议下 容器是离线。上面是openwrt中的frp内网穿透日志
如果将域名更换为IP的话就可以使用,但是如果用域名的就就是不行的
@xqzr commented on GitHub (Jan 13, 2024):
[::1]:53解析结果不正确@github-actions[bot] commented on GitHub (Feb 4, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.