What is an SRV record and who uses it?
IntermediateConceptDNS
Answer
SRV records provide host, port, priority and weight for a named service: _service._proto.name TTL IN SRV priority weight port target. Clients choose by priority then weighted randomness.
Used by Kubernetes headless services (named ports), Consul, SIP, LDAP and etcd discovery. Standard HTTP browsers do not use SRV, which is why they rarely appear in public web setups.
More on DNS
What does DNS do and what happens when you type a URL into a browser?BeginnerWhat are the common DNS record types?BeginnerWhat is the difference between a recursive resolver and an authoritative server?IntermediateExplain the DNS resolution chain step by step with dig.IntermediateWhat is TTL in DNS and how does it affect changes?BeginnerWhat is negative caching in DNS?Intermediate