Minecraft SRV Record Generator
An SRV record lets players connect through a clean address like play.yourdomain.com, even if your server does not run on port 25565. Here you get all values ready for your DNS provider.
Values for your DNS provider
The calculation runs in your browser only. Nothing is sent to us.
Runs entirely in your browser. Names, passwords and free text never leave your device. For our statistics, we count that the tool was opened and used, plus a few selected options (numbers you enter and results only in broad ranges), without cookies and without any link to you.
How it works
- Enter the address players should type and the hostname your server runs on.
- Check your server’s port.
- Create an SRV record with exactly these values at your DNS provider. Many providers have separate fields, others take one line in zone format.
- Wait until the record is active (usually a few minutes, at most the TTL) and test the address in game.
Frequently asked questions
What is the difference between address and target?
The address is what players type in game, for example play.yourdomain.com. The target is the hostname the SRV record points to. That hostname needs its own A or AAAA record with your server’s IP.
Can the target be an IP address?
No. An SRV record may only point to a hostname, not directly to an IP. Create an A record and point to that.
Does this work for Bedrock?
No. The SRV record only applies to Java Edition. On Bedrock players have to enter the port in the port field.
Do I also need an A record for the address?
Not for the connection, the SRV record is enough. Some clients check the address first though, so many people add an A record as well.
Why does it not work?
Common causes: the record sits under the wrong name, the proxy switch at your DNS provider is on (it must be off for Minecraft), the target has no A record or the DNS cache is still old.
Related offerYour own Minecraft server for Java and Bedrock, set up in a few minutes.
See Minecraft servers →