When a domain name has both IPv4 and IPv6 addresses, it may fail to connect to the relay network. #3381

Closed
opened 2026-02-21 01:19:49 -05:00 by deekerman · 2 comments
Owner

Originally created by @LingluoYusa on GitHub (Apr 17, 2025).

Bug Description

My home network and the relay server both support IPv4 and IPv6. When accessing using a domain name with a port, it shows a "not ready" message. However, accessing directly with the IPv4 address works fine.

How to Reproduce

By adding both A and AAAA records to a domain and using the domain with a port in the ID relay service for connection, if the server has not opened the corresponding port for IPv6 requests but has opened it for IPv4, the connection will fail when the domain resolves to IPv6 first.

Expected Behavior

If the domain resolves to IPv6 first and only the corresponding IPv4 port is open, the connection will fail. In this case, the system should attempt to connect using the A record (IPv4) after the AAAA record (IPv6) connection fails.

Operating system(s) on local (controlling) side and remote (controlled) side

Windows 11 => Windows 11

RustDesk Version(s) on local (controlling) side and remote (controlled) side

1.3.9 => 1.3.9

Screenshots

Image

Image

Image

Image

Additional Context

No response

Originally created by @LingluoYusa on GitHub (Apr 17, 2025). ### Bug Description My home network and the relay server both support IPv4 and IPv6. When accessing using a domain name with a port, it shows a "not ready" message. However, accessing directly with the IPv4 address works fine. ### How to Reproduce By adding both A and AAAA records to a domain and using the domain with a port in the ID relay service for connection, if the server has not opened the corresponding port for IPv6 requests but has opened it for IPv4, the connection will fail when the domain resolves to IPv6 first. ### Expected Behavior If the domain resolves to IPv6 first and only the corresponding IPv4 port is open, the connection will fail. In this case, the system should attempt to connect using the A record (IPv4) after the AAAA record (IPv6) connection fails. ### Operating system(s) on local (controlling) side and remote (controlled) side Windows 11 => Windows 11 ### RustDesk Version(s) on local (controlling) side and remote (controlled) side 1.3.9 => 1.3.9 ### Screenshots ![Image](https://github.com/user-attachments/assets/9ddf45e1-48d7-4ddf-877b-3a838d951540) ![Image](https://github.com/user-attachments/assets/a9bbaeca-9d4f-48c7-8dd1-0f88842406a1) ![Image](https://github.com/user-attachments/assets/ace204e1-7245-4bc9-9853-146ced252851) ![Image](https://github.com/user-attachments/assets/502febdc-c876-4fda-bc15-55a24ec8b04b) ### Additional Context _No response_
deekerman 2026-02-21 01:19:49 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@LingluoYusa commented on GitHub (Apr 17, 2025):

This bug can also be reproduced on Ubuntu.

@LingluoYusa commented on GitHub (Apr 17, 2025): This bug can also be reproduced on Ubuntu.
Author
Owner

@rustdesk commented on GitHub (Apr 17, 2025):

#763

@rustdesk commented on GitHub (Apr 17, 2025): #763
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
starred/rustdesk-rustdesk#3381
No description provided.