SRV record: domain without a port
How to make players connect via an address without a port: how an SRV record works, field values, and verification.
Updated August 13, 2026
An SRV record tells the Minecraft client which port to connect to. Thanks to it, a player types mc.example.ru instead of mc.example.ru:25572.
What it looks like
_minecraft._tcp.mc SRV 0 5 25572 host.example.ru.
The fields in order: priority, weight, port, target host (with a trailing dot).
The target host must have an A record pointing to the required IP. Using a CNAME as an SRV target is technically not recommended.
In Millida
The address name.millida.host is already configured this way: the port is baked into the SRV record. For your own domain, the control panel shows the required records in the “Custom domains” section — Custom domains.
Checking
nslookup -type=SRV _minecraft._tcp.mc.example.ru
or dig SRV _minecraft._tcp.mc.example.ru. If the record is visible but the game won't connect, wait: DNS can take up to several hours to update.
Limitations
- Clients 1.7 and older don't support SRV: they need a port.
- Bedrock doesn't use SRV at all — there the port is entered manually — Bedrock in a network.
- Some launchers cache the result: restarting helps.
Default port
If the server runs on 25565, you don't need SRV: the client fills in this port on its own. SRV is needed specifically for non-standard ports.
