Minecraft SRV Record
Hello all, I was screwing around with the DNS records for a minecraft server of mine, but I could not get the SRV-record to work. Does anyone have some more explanation on how it works and what might be an issue?
1 Reply
Hey @Celdrith,
If your goal is just to get the domain itself to be joinable to a minecraft server, (lets say 1.1.1.1:25564) you'll need two records.
Create an
A
record for the server's IP address, I usually name it play
, mc
, or just @
for the domain itself. Whatever makes the most sense, users won't really see this anyway.
Create an SRV
record, setting:
* Name to @
(for the domain, or you can use play
/mc
again)
* Service to _minecraft
* Protocol to TCP
* Priority to 1
* Weight to 1
* Port to 25564
(from the example IP/port above)
* Target to play.mydomain.tld
The target name depends on the name of the A record you used.