Skip to content

SRV records ​

Why SRV? ​

Without SRV, players must type play.example.com:25577. With an SRV record, they type just play.example.com and the client finds the port automatically.

Add it ​

TypeNamePriorityWeightPortTarget
SRV_minecraft._tcp.play0525577play.example.com

You also need the target to resolve, so add:

TypeNameValue
Aplaynode IP

Cloudflare ​

Cloudflare supports SRV records. Enter:

  • Service: _minecraft
  • Protocol: _TCP
  • Name: play
  • Priority / Weight / Port: 0 / 5 / 25577
  • Target: play.example.com

Cloudflare creates SRV records as DNS-only automatically — you cannot proxy them.

Other protocols ​

UseName
Minecraft_minecraft._tcp
Mail IMAP_imaps._tcp
Mail submission_submission._tcp
Autodiscover_autodiscover._tcp

INFO

After changing an SRV record, the client may cache the old one. Restart Minecraft or wait a few minutes.

Hosting for Minecraft, Discord bots, Lavalink, VPS and databases.