content firstHeading SRV Records /firstHeading bodyContent tagline From XMPP WIKI /tagline subtitle /subtitle jumpto Jump to: navigation , search /jumpto bodycontent A Service record ( SRV record ) is a specification of data in the Domain Name System ( DNS ) defining the location (i.e. the hostname and port number) of servers for specified services. It is defined in RFC 2782 . 1 Ports 1.1 Very important 1.2 If used 2 Record format 3 XMPP SRV records 3.1 Example 1 3.2 Example 2 3.3 Example 3 3.4 Retrieving XMPP SRV records 4 STUN SRV records 4.1 Example 1 4.2 Example 2 4.3 Example 3 4.4 Retrieving STUN SRV records 5 TURN SRV records 5.1 Example 1 5.2 Example 2 5.3 Example 3 5.4 Retrieving TURN SRV records 6 External links Ports Very important XMPP uses 5222 ( C2S ) and 5269 ( S2S ) ports in TCP only ( RFC 6120 ). If used STU...