An SRV record has the form:
_minecraft._tcp.name 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 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.