[GH-ISSUE #4383] frpc自启动出错 #3462

Closed
opened 2026-05-05 14:13:36 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @skoy03 on GitHub (Aug 15, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4383

Bug Description

connect to server error: dial tcp: lookup junhe.268e.cn on 192.168.100.100:53: dial udp 192.168.100.100:53: connect: network is unreachable

因为IP是动态IP,所以serverAddr就填写域名进行获取IP,但是自启动的时候就会报错,手动启动反而没问题

frpc Version

0.59

frps Version

0.59

System Architecture

linux/amd64

Configurations

frpc配置文件

Server Configure

serverAddr = "junhe.268e.cn"
serverPort = 7000

Logs

login to the server failed: dial tcp: lookup junhe.268e.cn on 192.168.100.100:53: dial udp

Steps to reproduce

只要重启后自启动就会出现

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @skoy03 on GitHub (Aug 15, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4383 ### Bug Description connect to server error: dial tcp: lookup junhe.268e.cn on 192.168.100.100:53: dial udp 192.168.100.100:53: connect: network is unreachable 因为IP是动态IP,所以serverAddr就填写域名进行获取IP,但是自启动的时候就会报错,手动启动反而没问题 ### frpc Version 0.59 ### frps Version 0.59 ### System Architecture linux/amd64 ### Configurations frpc配置文件 # Server Configure serverAddr = "junhe.268e.cn" serverPort = 7000 ### Logs login to the server failed: dial tcp: lookup junhe.268e.cn on 192.168.100.100:53: dial udp ### Steps to reproduce 只要重启后自启动就会出现 ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@xqzr commented on GitHub (Aug 15, 2024):

2dcdb24cc4/conf/frpc_full_example.toml (L17)

<!-- gh-comment-id:2292434385 --> @xqzr commented on GitHub (Aug 15, 2024): https://github.com/fatedier/frp/blob/2dcdb24cc4a0792a5e75527d43ccb8fd2e40da92/conf/frpc_full_example.toml#L17
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3462
No description provided.