SRV record: joining without a port (Minecraft Java)

The one DNS record that lets Java players type play.yourdomain.com and nothing else.

1 min readUpdated 2026-09-14Diese Anleitung auf Deutsch lesen →

Minecraft Java looks up an SRV record before connecting. It tells the client which host and port to use, so players type only the domain.

The record

At your DNS provider add a record of type SRV:

FieldValue
Name / Service_minecraft._tcp.play (some panels split this into service _minecraft, protocol _tcp, name play)
Priority0
Weight5
Portyour port, e.g. 4123
Targetyour server address like survival.penguhost.com, or node1.penguhost.com (or play.yourdomain.com if you created that CNAME/A first)

Save. After DNS propagates, play.yourdomain.com in the Minecraft server list connects to node1.penguhost.com:4123.

Check it

On your PC: nslookup -type=SRV _minecraft._tcp.play.yourdomain.com should show the port and target. Kowalski can check it too: "does the SRV record for play.example.com work?"

Where it does not work

SRV is a Java Edition feature. Bedrock, Geyser (Bedrock side), Rust and Steam games ignore it, so those players keep the port.