[GH-ISSUE #2715] [Feature Request] 使用域名连接的时候,frpc客户端如何开启ipv6优先? #2167

Closed
opened 2026-05-05 13:23:45 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @aa51513 on GitHub (Dec 22, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2715

Describe the feature request

为了应对ip地址变化,我为frps设置了域名;
问题随之而来,frpc连接的时候,如何指定优先使用ipv6地址?

Describe alternatives you've considered

是否应该设置一个ipv6优先的参数(默认值为false)?

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @aa51513 on GitHub (Dec 22, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2715 ### Describe the feature request 为了应对ip地址变化,我为frps设置了域名; 问题随之而来,frpc连接的时候,如何指定优先使用ipv6地址? ### Describe alternatives you've considered 是否应该设置一个ipv6优先的参数(默认值为false)? ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:23:46 -06:00
Author
Owner

@fatedier commented on GitHub (Dec 22, 2021):

You should resolve your domain to an ipv6 address.

If so, go will try IPv6 first.

<!-- gh-comment-id:999349586 --> @fatedier commented on GitHub (Dec 22, 2021): You should resolve your domain to an ipv6 address. If so, go will try IPv6 first.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 22, 2022):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1018991846 --> @github-actions[bot] commented on GitHub (Jan 22, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2167
No description provided.