mojira.dev
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
 

Linked issues

Comments 4

Confirmed in 1.14.2

@unknown As a reporter you can update the affected version yourself. 😉

Can confirm in 25w03a. I would also like to request ownership of this report to be able to maintain it

几年的bug没人修?又不是太难修的,刷点业绩不好吗?修了刷线机不修这个?

No one fixed the bug for years? It's not too hard to fix, right? If you don't do well in performance, you can fix the line machine but not this one?

Millowe

(Unassigned)

Community Consensus

(Unassigned)

DNS, SRV, srv-record

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

Retrieved