With an SRV record you can let your domain point to a Minecraft server without subdomains and without the need for taking the whole @
namespace.
First, we'll create a normal A record which the SRV record can point to. Let's choose play.yourdomain.com
for this.
Select SRV
as the record type and enter _minecraft._tcp
as its name.
Now click on the value field, which will open the following popup.
Choose a priority and weight.
Enter the correct port which your Minecraft Server or Proxy is listening on. The default Minecraft port is 25565
.
For the target, enter the A record including your full domain. Also, don't forget to put a dot at the end of that domain.
Optionally, you can now check the zone file entry to see if everything is correct.
To do this, open the zone file:
The zone file should contain this line:
_minecraft._tcp IN SRV 0 5 25565 play.yourdomain.com.
You can now connect to your Minecraft server using just yourdomain.com
without the need for an A record taking the @
namespace. 🙂
does this also work for a github eaglercraftX server?