Minecraft SRV record generator
Enter your domain and server address and get the SRV record for a zone file or your registrar's form. Players then don't need the port.
- free, no sign-up
- RFC 2782
- nothing leaves your browser
Your domain and server
runs in your browserA domain you manage, e.g. mydomain.com.
Empty = players type the domain itself.
The address from your host (name or IP), without the port.
Players type
mc.
_minecraft._tcp.mc.mydomain.com. 3600 IN SRV 0 5 25577 node1.example.net.
For your registrar's form
| Type | Name | Service | Protocol | Priority | Weight | Port | Target / value | TTL |
|---|---|---|---|---|---|---|---|---|
| SRV | mc | _minecraft | _tcp | 0 | 5 | 25577 | node1. | 3600 |
- Type
- SRV
- Name
- mc
- Service
- _minecraft
- Protocol
- _tcp
- Priority
- 0
- Weight
- 5
- Port
- 25577
- Target / value
- node1.
example. net. - TTL
- 3600
- On Cloudflare set the records to “DNS only” (grey cloud), Minecraft doesn't work through the proxy.
- Bedrock doesn't read SRV records, Bedrock players enter the address and port separately.
How to set up a Minecraft SRV record
Enter the domain you manage and a subdomain such as mc. Leave the subdomain empty if players should type the domain itself.
Fill in the server address from your host (name or IP, without the port) and the port the server runs on.
In your registrar's DNS settings, add an SRV record with the values from the table (service _minecraft, protocol _tcp, priority, weight, port, target), or copy the lines into your zone file.
If the server runs on a bare IP, also add the helper A or AAAA record the SRV points to. On Cloudflare, keep the records “DNS only” (grey cloud).
After saving, wait for the TTL and verify the record with “Check in the Looking Glass”. Players can then join with just the domain.
About this tool
A Minecraft SRV record lets players join your domain without a port, for example mc.yourdomain.com instead of IP:25570.
Enter your domain and server address and the generator builds the _minecraft._tcp record with priority, weight, port and target, a helper A or AAAA record when the server runs on a bare IP, and both a zone file line and a table for your registrar's form.
It adds Cloudflare tips too, where the target record must not be proxied. Nothing is sent anywhere; it all runs in your browser.
- Sent to a server
- never
- Record
- _minecraft._tcp
- Export
- zone · table
Frequently asked questions
Answers to the questions people ask most about this tool.
How do I connect a Minecraft server to a domain without a port?
Create an SRV record _minecraft._tcp on your domain that points to the server's address and port. The game looks it up automatically when connecting, so players only need the domain.
Do I need an SRV record if the server runs on port 25565?
No. The game tries the default port 25565 by itself, so an A record (or CNAME) for the subdomain pointing at the server is enough. The generator tells you so when you enter port 25565.
Does an SRV record work for Bedrock?
No. Bedrock Edition doesn't read SRV records, so players must enter the address and port (default 19132). SRV only applies to Java Edition.
Why doesn't my SRV record work with Cloudflare?
The SRV target must be an A or AAAA record that isn't proxied (grey cloud, DNS only). Cloudflare's proxy only carries web traffic, not Minecraft. DNS changes can also take a few minutes to apply.
Related
- Minecraft server address: our subdomain or your own domainLet players join with a clean address and no port: a subdomain from us in a minute, or your own domain with A and SRV records. Steps for Cloudflare and other DNS, checks and fixes.
- DNS records explained: A, AAAA, CNAME, SRV, TXT, MX and PTRHow DNS works, what each record type does, what TTL is and why a change takes a while, how to check a record with nslookup or dig, and which mistakes to avoid.
- How to point a domain to your VPS (including via Cloudflare)Point your domain and www to your VPS's IP address with any DNS provider or in Cloudflare. We explain the orange and gray cloud, the Full (strict) SSL mode and errors 521 and 522.
Want your own Minecraft server? Minecraft server hosting