DNS record generator
Work out the SRV, A or CNAME records that point your own domain at a server.
What this tool does
It works out the DNS records you need so players can join with your own domain, such as play.example.com, instead of an IP address. Enter your domain, the subdomain you want, the server's address and its port, and it lists each record with its type, name and value.
The three record types
- A record. Points a name at an IP address. Use it when your host gave you a numeric IP.
- CNAME record. Points a name at another hostname. Use it when your host gave you an address like
node1.host.net. - SRV record. Tells the Minecraft client which port to use, so players do not have to type
:25567. The tool only adds one when the port is not the default 25565.
The step people miss
An SRV record must point at a hostname, never at an IP. If your server only has an IP, you need the A record first and the SRV record then points at that name. The tool sets this up for you, which is why it sometimes lists two records where you expected one.
Adding them at your provider
- Open the DNS settings for your domain at your registrar or at Cloudflare.
- Add each record exactly as shown. Leave the TTL on Auto.
- If you use Cloudflare, set the A or CNAME record to DNS only (the grey cloud). Cloudflare's proxy only carries web traffic, so a proxied record cannot carry Minecraft.
- Wait. Changes usually show up within minutes but can take up to an hour, and a game client that cached the old answer may need restarting.
Bedrock
The Bedrock client does not read SRV records at all. Players on phones and consoles always type the port into the server entry, so the tool only gives Bedrock a plain A record. The default Bedrock port is 19132.
Root domains
Most providers do not allow a CNAME on the bare domain (example.com with no subdomain). Use a subdomain such as play, or use an A record with the IP.
On PulsedMC, the Domain tab in the panel can set this up for a domain you own.
Free to use, no account needed. Everything happens in your own browser. Nothing you type is sent anywhere.
Filed under Networking.
Other networking tools
- Geyser setup: Config for letting Bedrock players onto a Java server, with the ports spelled out.
- Firewall and port checklist: Which ports a server actually needs open, and which should stay shut.
- Proxy route planner: Lay out a Velocity network and get velocity.toml plus what each backend needs.