mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3748] [frpc] login to server failed: dial tcp: lookup tp.xx.com on 127.0.0.53:53: server misbehaving #2980
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#2980
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 @zolagz on GitHub (Nov 6, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3748
Bug Description
[W] [service.go:133] login to server failed: dial tcp: lookup tp.xx.com on 127.0.0.53:53: server misbehaving
frpc Version
0.51.3
frps Version
0.51.3
System Architecture
linux/arm
Configurations
[common]
tls_enable = true
server_addr = tp.xx.com
server_port = 7000
[test]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 70011
Logs
2023/11/06 14:41:31 [I] [root.go:220] start frpc service for config file [/opt/frp_0.51.3_linux_arm64/frpc.ini]
2023/11/06 14:41:31 [W] [service.go:133] login to server failed: dial tcp: lookup tp.xx.com on 127.0.0.53:53: server misbehaving
2023/11/06 14:41:31 [I] [root.go:236] frpc service for config file [/opt/frp_0.51.3_linux_arm64/frpc.ini] stopped
2023/11/06 14:41:32 [I] [root.go:220] start frpc service for config file [/opt/frp_0.51.3_linux_arm64/frpc.ini]
2023/11/06 14:41:32 [W] [service.go:133] login to server failed: dial tcp: lookup tp.xx.com on 127.0.0.53:53: server misbehaving
2023/11/06 14:41:32 [I] [root.go:236] frpc service for config file [/opt/frp_0.51.3_linux_arm64/frpc.ini] stopped
2023/11/06 14:41:34 [I] [root.go:220] start frpc service for config file [/opt/frp_0.51.3_linux_arm64/frpc.ini]
2023/11/06 14:41:34 [W] [service.go:133] login to server failed: dial tcp: lookup tp.xx.com on 127.0.0.53:53: server misbehaving
2023/11/06 14:41:34 [I] [root.go:236] frpc service for config file [/opt/frp_0.51.3_linux_arm64/frpc.ini] stopped
2023/11/06 14:41:37 [I] [root.go:220] start frpc service for config file [/opt/frp_0.51.3_linux_arm64/frpc.ini]
2023/11/06 14:41:37 [W] [service.go:133] login to server failed: dial tcp: lookup tp.xx.com on 127.0.0.53:53: server misbehaving
2023/11/06 14:41:37 [I] [root.go:236] frpc service for config file [/opt/frp_0.51.3_linux_arm64/frpc.ini] stopped
Steps to reproduce
...
Affected area
@superzjg commented on GitHub (Nov 6, 2023):
remote_port = 70011 > 65535
@zolagz commented on GitHub (Nov 10, 2023):
remote_port = 51034,这样也是不行的
@xqzr commented on GitHub (Nov 10, 2023):
确保 系统 DNS 能解析域名
另,可通过
184223cb2f/conf/frpc_full_example.toml (L121)自定义 DNS@github-actions[bot] commented on GitHub (Dec 11, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@viocha commented on GitHub (Oct 16, 2025):
请问systemd如何等待dns服务器可用
@viocha commented on GitHub (Oct 16, 2025):
目前 0.65.0 版本也会存在这个问题,开机时登录总是失败,即便等待
network-online也会失败。给frpc.toml加上loginFailExit = false能比较好地解决。@sinoll commented on GitHub (Dec 14, 2025):
楼上才是正解 0.65版 修改两处
frpc.toml
loginFailExit = false
frp.service
[Unit]
Description=FRP Client
After=network-online.target
Requires=network-online.target