Running 2 servers from 1 IP without port numbers

An SRV record has the form: TTL class SRV priority weight port target
  • name: the domain name for which this record is valid.
  • TTL: standard DNS time to live field.
  • class: standard DNS class field (this is always IN).
  • priority: the priority of the target host, lower value means more preferred.
  • weight: A relative weight for records with the same priority.
  • port: the TCP or UDP port on which the service is to be found.
  • target: the canonical hostname of the machine providing the service.

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 An example SRV record in textual form that might be found in a zone file might be the following:  3600    IN  SRV 0   5   27165

This points to a server named redirecting to a Minecraft server running on 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.

  • 121 Users Found This Useful
Was this answer helpful?