Difference between revisions of "SRV Records"

Jump to navigation Jump to search
359 bytes added ,  10:17, 7 April 2023
no edit summary
(Replace misleading "very important" heading for listing default port numbers.)
Line 3: Line 3:
== Default Ports ==
== Default Ports ==
=== XMPP ===
=== XMPP ===
* XMPP uses 5222 ('''C2S''') and 5269 ('''S2S''') ports in TCP only ([http://xmpp.org/rfcs/rfc6120.html RFC 6120]).
 
For TCP connections ([http://xmpp.org/rfcs/rfc6120.html RFC 6120])
 
* Server 2 Server ('''S2S''') - 5269
* Client 2 Server ('''C2S''') - 5222 ('''START TLS''') / 5223 ('''DIRECT TLS''')
 
=== STUN/TURN ===
=== STUN/TURN ===
* STUN uses 3478 port in TCP/UDP and STUNS (STUN over TLS) uses 5349 port in TCP only ([http://tools.ietf.org/html/rfc5389 RFC 5389]).
* STUN uses 3478 port in TCP/UDP and STUNS (STUN over TLS) uses 5349 port in TCP only ([http://tools.ietf.org/html/rfc5389 RFC 5389]).
Line 24: Line 29:
== XMPP SRV records ==
== XMPP SRV records ==
  _xmpp-client._tcp.example.net. TTL IN SRV priority weight port target
  _xmpp-client._tcp.example.net. TTL IN SRV priority weight port target
_xmpps-client._tcp.example.net. TTL IN SRV priority weight port target
  _xmpp-server._tcp.example.net. TTL IN SRV priority weight port target
  _xmpp-server._tcp.example.net. TTL IN SRV priority weight port target
_xmpps-server._tcp.example.net. TTL IN SRV priority weight port target


=== Example 1 ===
=== Example 1 ===
  _xmpp-client._tcp.example.net. 86400 IN SRV 5 0 5222 example.net.
  _xmpp-client._tcp.example.net. 86400 IN SRV 5 0 5222 example.net.
_xmpps-client._tcp.example.net. 86400 IN SRV 5 0 5223 example.net.
  _xmpp-server._tcp.example.net. 86400 IN SRV 5 0 5269 example.net.
  _xmpp-server._tcp.example.net. 86400 IN SRV 5 0 5269 example.net.


Line 34: Line 42:
=== Example 2 ===
=== Example 2 ===
  _xmpp-client._tcp.example.net. 86400 IN SRV 5 0 5222 server.example.net.
  _xmpp-client._tcp.example.net. 86400 IN SRV 5 0 5222 server.example.net.
_xmpps-client._tcp.example.net. 86400 IN SRV 5 0 5223 server.example.net.
  _xmpp-server._tcp.example.net. 86400 IN SRV 5 0 5269 server.example.net.
  _xmpp-server._tcp.example.net. 86400 IN SRV 5 0 5269 server.example.net.


18

edits

Navigation menu