SRV Lookup
Lookup SRV records to validate target, port, priority, and weight for service discovery. Run fast checks, interpret results, and use related tools for…
Use SRV Lookup in 4 Steps
What is SRV Lookup?
SRV (Service) records enable service discovery by advertising which hosts serve a specific protocol and service at a domain. Each SRV record includes priority, weight, port, and target hostname. They're used for SIP/VoIP, XMPP/chat, Microsoft Active Directory, CalDAV, and Kubernetes external service DNS.
The SRV record name follows the pattern `_service._proto.domain` — for example, `_sip._tcp.example.com` or `_xmpp-client._tcp.example.com`. Multiple SRV records for the same service enable load balancing via weight (proportional traffic) and failover via priority (lower = preferred). RFC 2782 requires that SRV targets must be hostnames, not IP addresses.
Quick Interpretation Table
Use this reference to diagnose common outcomes when running SRV Lookup.
| Observed Result | Likely Cause | Next Step |
|---|---|---|
| No SRV record found | Service autodiscovery unavailable for this protocol | Publish SRV at _service._proto.domain with correct priority/weight/port/target |
| SRV target is an IP address | Invalid per RFC 2782 — clients may reject it | Replace the target with a valid hostname that resolves to an A/AAAA record |
| Multiple SRVs with identical priority | Weight-based load balancing is active | Verify weight ratios match intended load distribution (higher weight = more traffic) |
CLI Examples
Run these commands directly from a terminal to verify SRV records without relying on a browser-based tool.
dig SRV _sip._tcp.example.comdig SRV _xmpp-server._tcp.example.comnslookup -type=SRV _caldavs._tcp.example.comdig SRV _sipfederationtls._tcp.example.comTroubleshooting Workflow
- Run this record check first for a scoped signal on the target hostname.
- Validate nameserver authority and SOA context if results are unexpected.
- Use propagation checks when different regions return different values.
- Re-run after applying fixes and compare values against your expected configuration.
Frequently Asked Questions
Get guides like this by email
DNS, email auth, and security playbooks delivered when they publish. No spam.