Running 2 servers from 1 IP without port numbers

An SRV record has the form:

_minecraft._tcp.name TTL class SRV priority weight port target

If your DNS provider asks for service, put in _minecraft and if it asks for proto or protocol, put in _tcp.

For example, if your MC Server was hosted on official.mdn10.creeperhost.net:27165 An example SRV record in textual form that might be found in a zone file might be the following:

_minecraft._tcp.mc  3600    IN  SRV 0   5   27165   official.mdn10.creeperhost.net.

This points to a server named server.creeperlabs.com redirecting to a Minecraft server running on official.mdn10.creeperhost.net:27165 The priority given here is 0, and the weight is 5.

As in MX records, the target in SRV records must point to hostname with an address record. Pointing to a hostname with a CNAME record is not a valid configuration.

Was this answer helpful?