mojira.dev
MC-6941

SRV is no longer used to lookup servers

The client is not using the SRV record to lookup the server it connects to.

Both the ping in the multiplayer menu and the direct connect fail.

I sniffed the DNS packets and found that only A and AAAA queries were made.

Linked issues

Comments 7

@Tails if you can confirm this please change confirmation status

The SVR lookup was done using sun.* classes and would give huge timeouts for people who didn't use the Sun JRE. Now we check for the existance of the class used before we do the SVR lookup to prevent that. From this I can only assume you do not have that class and thus are not using Sun's JRE.

If you stumble upon a better way to do the SVR lookups feel free to let us know.

SRV lookups are failing for me. I'm running on Windows 7 64 bit with the standard Oracle (who bought Sun?) Java installation.

Versions installed are (from control panel, add/remove programs):

Java 7 Update 7 (64 bit) - version 7.0.70
Java 7 update 11 - version 7.0.110
Java SE Development Kit 7 Update 7 (64-bit) - ver 1.7.0.70

From the Minecraft snooper settings page, the java_version value is 1.7.0_07

The issue is not fixed at all. The (vanilla) Minecraft client does not query the DNS recursor for SRV records.
A look at the DNS queries (using Wireshark) shows that the current Minecraft client only queries for AAAA- and A-records but not for SRV-records.

Mojang, please fix it finally!

Technical details:

Minecraft version: 1.5.1
Oracle JRE version: 1.7.0_21 (x64)
Operating system: Ubuntu 10.04 x64

$ dig +short SRV _minecraft._tcp.whatevercraft.com
0 5 25565 server.whatevercraft.com.
$ dig +short A server.whatevercraft.com
46.228.200.240

Please fix this...in 1.4 update info, it says it should work....but it doesn't

Can we please reopen this? I sniffed all DNS queries made from start to stop of Minecraft:

$ sudo tcpdump -vvv -s 0 -l -n port 53`

Not a single SRV query was made, A queries only, even after the A queries returned NXDOMAIN.

Java version:

$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)

Above comment from me is probably MC-31433

Nuxas

Nathan Adams

Unconfirmed

Snapshot 13w02a, Snapshot 13w02b, Snapshot 13w03a, Snapshot 13w04a

Snapshot 13w05a

Retrieved