SRV Lookup
Find service endpoints and ports
Lookup SRV records for services like SIP, XMPP, or LDAP.
Type a service name like _sip._tcp.example.com to check SRV records.
What is an SRV record?
SRV records describe how to reach a service, including priority, weight, port, and target host.
How to format SRV queries
Use the _service._proto.domain format, such as _sip._tcp.example.com.
Common SRV use cases
SRV records are used for VoIP, chat services, and directory services.
SRV records explained
SRV records describe where to reach a specific service, including priority, weight, port, and target host.
Queries use the _service._proto.domain format, such as _sip._tcp.example.com.
Example SRV record
SRV answers include priority, weight, port, and target host.
| Name | Priority | Weight | Port | Target |
|---|---|---|---|---|
| _sip._tcp.example.com | 10 | 60 | 5060 | sip.example.com |
Lower priority is preferred; weight balances traffic among equal priorities.
Targets should resolve to A or AAAA records.
Error glossary
NXDOMAIN
The domain does not exist in DNS. Check the spelling or registration status.
SERVFAIL
The resolver failed to answer. This can be caused by DNSSEC issues or upstream outages.
Timeout
The DNS server did not respond in time. Try again or check connectivity.
Frequently Asked Questions
Why are SRV records not returned?
The service may not be published, or the hostname format may be incorrect.
What do priority and weight mean?
Priority selects the preferred server, while weight balances traffic among servers with the same priority.
Can SRV replace A or AAAA records?
SRV complements A/AAAA by defining service-specific endpoints and ports.