Skip to content
Current coupon:10% offUse it in your order

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 browser

A 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.mydomain.com

Zone file lines
_minecraft._tcp.mc.mydomain.com. 3600 IN SRV 0 5 25577 node1.example.net.

For your registrar's form

TypeNameServiceProtocolPriorityWeightPortTarget / valueTTL
SRVmc_minecraft_tcp0525577node1.example.net.3600
Type
SRV
Name
mc
Service
_minecraft
Protocol
_tcp
Priority
0
Weight
5
Port
25577
Target / value
node1.example.net.
TTL
3600
Check in the Looking GlassAfter saving at your registrar it takes a while to apply (depending on TTL).
  • 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.
A Minecraft server with us comes with a free name.stormhost.eu address including the SRV record. You set it up in your customer account.

How to set up a Minecraft SRV record

  1. Enter the domain you manage and a subdomain such as mc. Leave the subdomain empty if players should type the domain itself.

  2. Fill in the server address from your host (name or IP, without the port) and the port the server runs on.

  3. 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.

  4. 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).

  5. 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.

Tool details
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.

Want your own Minecraft server? Minecraft server hosting