Skip to content
← All DNS record types
SRV

Service Locator

SRV points to a hostname and port for a specific service. Used by XMPP, SIP, Minecraft, Matrix.

Syntax

_service._proto.domain TTL IN SRV priority weight port target

Example

_sip._tcp.example.com.    300    IN    SRV    10 5 5060 sip.example.com.

When to use

When: the service supports SRV discovery (Matrix, XMPP, MS AutoDiscover).

Common mistakes

Common mistakes: target is an IP instead of a hostname. Missing A/AAAA for the target.

Check SRV records for any domain:

Open DNS Lookup →

Related record types