An SRV (service) record indicates the port and protocol type that a specific service or server runs on, which allows for additional information. SRV records are associated with services such as VoIP, Jabber - XMPP (Extensible Messaging and Presence Protocol), SIP (Session Initiation Protocol).
A sample SRV record for an XMPP server (such as Jabber) It requires creating two SRV records - one for clients and one for other XMPP servers.
| Hostname | Record type | Value | TTL |
|---|---|---|---|
| _xmpp-client._tcp.example.com. | SRV | 0 5222 przykład.pl. | 82698 |
| _xmpp-server._tcp.example.com. | SRV | 0 5269 przykład.pl. | 82698 |
The 5222 and 5269 are the ports on which the server will listen.