Minecraft SRV record generator
Let players join with play.yourdomain.com instead of an IP and port: get the exact DNS records to add, and check an existing SRV record.
What an SRV record does
Minecraft Java Edition looks up a DNS record named _minecraft._tcp. plus the address the player typed. If it exists, the game connects to the host and port in that record. That way players type play.example.com while your server runs on, say, node3.host.net:25566.
Things that often go wrong
- Cloudflare's orange cloud: the A record for the server must be "DNS only". Cloudflare's proxy only carries web traffic, not Minecraft.
- Target is an IP: SRV targets must be a host name. Add an A record first, as the generator shows.
- Bedrock Edition ignores SRV records: Bedrock players always type the address and the port (19132 unless your host says otherwise).
- A port in the address: if players type
play.example.com:25566, the SRV record is skipped.