[GH-ISSUE #4703] [Feature Request] 希望local_ip支持主机名和域名 #3712

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

Originally created by @kkqy on GitHub (Mar 8, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4703

Describe the feature request

因为我是docker部署的,服务在另一个容器里,容器每次启动IP可能会变化,所以我想使用容器名称来代替固定IP,但是貌似frp的localIP配置项不支持域名或者主机名?
有什么好的办法吗?

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @kkqy on GitHub (Mar 8, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4703 ### Describe the feature request 因为我是docker部署的,服务在另一个容器里,容器每次启动IP可能会变化,所以我想使用容器名称来代替固定IP,但是貌似frp的localIP配置项不支持域名或者主机名? 有什么好的办法吗? ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [x] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@kkqy commented on GitHub (Mar 8, 2025):

是我搞错了,local_ip是支持域名和主机名的,我docker的网络配置问题

<!-- gh-comment-id:2708460573 --> @kkqy commented on GitHub (Mar 8, 2025): 是我搞错了,local_ip是支持域名和主机名的,我docker的网络配置问题
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#3712
No description provided.