- What is a DNS SRV record?
- An SRV record publishes which host and port provide a service for a domain, using names like _service._proto.example.com.
- How do I form an SRV query name?
- Use the pattern _service._protocol.domain. For example, _sip._tcp.example.com or _xmpp-server._tcp.example.com.
- What do SRV priority and weight mean?
- Clients prefer the lowest priority value first. If multiple records share the same priority, weight is used for load balancing between them.
- Why do I see multiple SRV records?
- Multiple records are normal for failover and load distribution. They let clients choose alternate targets if one endpoint is unavailable.
- Why does an SRV lookup return no records?
- The service may not publish SRV records, the query name may be malformed, or DNS changes may still be propagating.
- Do SRV targets also need A or AAAA records?
- Yes. SRV targets must resolve to addresses via A and/or AAAA records, otherwise clients cannot connect.