What do I put in each SRV record field?
A Minecraft SRV record lets players connect without typing a port, but every field has to be exactly right or it won't resolve. Here's the field-by-field breakdown.
The fields
- Service:
_minecraft - Protocol:
_tcp - Name / Host: the subdomain players will type, e.g.
play(some registrars combine this as_minecraft._tcp.play) - Priority:
0 - Weight:
5 - Port: your server's actual port (from the Console or the IPs & Ports page)
- Target: the hostname from your A record, e.g.
play.yourdomain.com(never an IP here)
How the pieces fit together
The SRV record points at a name, not an IP, and that name must already resolve through an A record. So set up your A record first, then the SRV record targets it.
Tip: The Target must be a hostname that already resolves via an A record — SRV points at a name, not at an IP.
Frequently asked questions
Do I need an SRV record on the default port? No — if your server runs on 25565, a plain A record is enough.
Why does my SRV record not work? Most often the Target is set to an IP (it must be a hostname), or the A record it points at doesn't resolve yet.
More in Connecting, IPs & Domains
- Where do I find my server's IP address and port to connect or share?
- How do I connect a custom domain (A record / SRV record) to my server?
- How do I hide the numeric IP or the port and use a word/custom address instead?
- Can I buy a domain directly from HumbleServers, or must I get one elsewhere?
- My domain opens the wrong server or points to someone else's server — how do I fix it?
- Does the port go in the A record? (A record vs SRV confusion)