SRV Record (Service Record) (SRV Record)
Why SRV Record Is Important
SRV records enable automatic service discovery, so clients can find the right server and port for a service without hardcoding connection details. For example, a SIP phone client can look up the SRV record for _sip._tcp.example.com to find the VoIP server's hostname and port.
The priority and weight fields in SRV records provide built-in load balancing and failover. Lower priority values are tried first, and weight distributes traffic among records with equal priority. This allows sophisticated traffic management purely through DNS configuration.
For web applications, SRV records are less commonly used since HTTP has its own service discovery mechanisms. However, if you run services like XMPP chat, CalDAV/CardDAV (calendar and contacts), or internal microservices that support SRV lookups, proper SRV record configuration is important for reliability and automatic failover.
How to Test for SRV Record
A DNS health checker can query SRV records for common services associated with your domain. Verify that the target hostnames are reachable and the port numbers are correct. Check priority and weight values if you use SRV for load balancing or failover.
Check DNS Health