Free tool
Minecraft SRV record generator
Let players join with play.yourdomain.com — no port, any host.
| Field | Value |
|---|---|
| Type | SRV |
| Name / Host | _minecraft._tcp.play |
| Priority | 0 |
| Weight | 5 |
| Port | 25565 |
| Target | your server address |
_minecraft._tcp.play.example.com. 3600 IN SRV 0 5 25565 your-server-address.
Players then connect with just play.example.com — no port. DNS changes can take up to an hour to propagate.
Fill in the address you want players to use, where the server actually lives, and its port. You get both the per-field values registrar dashboards ask for (Cloudflare, Namecheap, Porkbun and friends all use the same shape) and the raw zone-file line for anything else.
The generated record uses priority 0 and weight 5 — the conventional values when you have a single server. Multiple SRV records with different priorities can fail over between hosts, but one record is all a typical community server needs.
Common questions
What does an SRV record do for a Minecraft server?
It maps a domain to a host and port at the DNS level. When someone connects to play.example.com, the Java client first asks DNS for _minecraft._tcp.play.example.com and follows the target and port it finds — so players never have to type a port, even on non-standard ones.
Do I still need an A record?
The SRV target must be a hostname that resolves (an A/AAAA record or your host's address like node1.example.net) — it cannot point at a bare IP in the record itself. If your host gives you a hostname, point the SRV target straight at it and you don't need any A record of your own.
Why isn't my SRV record working?
The usual suspects: the record name is missing the _minecraft._tcp prefix, the target is an IP address instead of a hostname, the target has a trailing typo, or DNS just hasn't propagated yet (give it up to an hour). Test with the status checker tool — it follows SRV records exactly like the game.
Does Bedrock edition use SRV records?
No — SRV lookup is a Java-edition client behavior. Bedrock players need the address and port directly, so keep your Bedrock port in the server listing if you run crossplay via Geyser.
Want the clean address without the DNS homework?
ReFx servers can add a yourname.refx.gg subdomain from the panel — records wired up automatically.