4.2.6 SRV Record
The DNS "service" (SRV) record specifies a host and port for specific services.
An SRV record contains the information mentioned in the following table with
example values for each field.
Table 4-9 SRV Record
| Field | Example |
|---|---|
| service | XMPP |
| protocol | TCP |
| domainName | example.com |
| TTL | 86400 |
| recordType | SRV |
| priority | 10 |
| weight | 5 |
| port | 5223 |
| target | server.example.com. |
SRV records are formatted as
follows:
_service._protocol.domainName. TTL recordType priority weight port targetFormatting the sample record
accordingly:
_xmpp._tcp.example.com. 86400 SRV 10 5 5223 server.example.com.