Some protocols do not use a fixed host name. Clients look up an SRV record first, which tells them the host, the port and an order of preference.
The name always has the form _service._protocol.domain:
dig +short SRV _imaps._tcp.gmail.com
dig +short SRV _xmpp-client._tcp.jabber.org
dig +short SRV _minecraft._tcp.example.com
The first line answers 5 0 993 imap.gmail.com.. The four fields are priority, weight, port and target. Clients try the lowest priority first. Among records with the same priority, weight decides how the load is spread. So that answer says: use imap.gmail.com on port 993.
I find SRV records worth checking whenever a client says it cannot find a server while the domain itself resolves fine. Mail clients use them for autoconfiguration (RFC 6186), XMPP and SIP depend on them, Minecraft Java uses _minecraft._tcp to hide a custom port, and Active Directory has a whole set of them.
The target must be a host name with its own A or AAAA record, never a CNAME or an IP address. A target of a single dot means the service is deliberately not offered at that domain. And the underscores are part of the name; leave them out and you get NXDOMAIN, which looks like a missing record but is just a typo.
Further reading: dig manual (BIND 9), RFC 2782: DNS SRV records
Going deeper: Guide: dig for beginners, look up DNS records and read the answer