Mojira Archive
MC-151920

DNS SRV records failover not working

Expected to happen:
When connecting to a server with multiple entries in the SRV record, one should be picked first. If the connection to said hostname fails, another should be tried until a successful connection has been made.
 
Actually happened:
If the connection to the first entry picked fails, no attempts are made to connect to the other entries.
 
Steps to Reproduce:
Set up two servers and an SRV record for _minecraft._tcp.example.com

10 0 25565 main.example.com
20 0 25565 backup.example.com

 
Kill the server at main.example.com.
 
Connect to example.com with minecraft.
 
Observe as the connection fails, and no attempt is made to connect to the backup server.
 
Related to RFC2782 compliance and MC-49826
 

Unresolved

Millowe

2019-05-15, 11:55 AM

2025-01-15, 08:57 PM

7

8

Community Consensus

(Unassigned)

DNS, SRV, srv-record

Minecraft 1.14.1, Minecraft 1.14.2, 1.16.1, 1.16.2 Pre-release 1

-