SRV Record Lookup

About SRV Record Lookup

SRV Record Lookup finds the host and port that provide a named service on a domain. Unlike most DNS records, an SRV record carries a port number, which is what lets a client discover not just where a service lives but which port to reach it on. The name follows a fixed pattern of service, protocol and domain, such as _sip._tcp.example.com, and the leading underscores are part of the specification rather than a convention. Each record has four fields: priority and weight, then port and target. Priority works like MX, lowest first, while weight distributes traffic between records that share a priority, in proportion to the numbers given. This is the mechanism behind autodiscovery in Microsoft 365, XMPP, SIP telephony and Minecraft servers, among others. The most common mistake is pointing the target at an IP address or a CNAME; like MX, the target must be a hostname with its own address record. A missing SRV record usually shows up as a client that cannot autoconfigure rather than as an obvious DNS failure.

DNS resolution happens in multiple stages. When you type a domain name, your browser first checks its own cache, then the OS resolver cache, then queries your configured DNS resolver (usually your ISP or a public resolver like 8.8.8.8 or 1.1.1.1). If none have the record cached, the resolver performs a recursive query: it asks the root name servers for the TLD servers (.com, .net, etc.), then asks the TLD servers for the authoritative name servers of the specific domain, and finally asks the authoritative servers for the actual record. This entire process typically completes in under 100ms. DNS-over-HTTPS (DoH) encrypts DNS queries in HTTPS traffic, preventing ISPs and network observers from seeing which domains you query. It was standardized in RFC 8484 in 2018 and is now supported by all major browsers. Google and Cloudflare both operate free public DoH endpoints (dns.google and cloudflare-dns.com). TXT records have become a critical security mechanism: SPF (Sender Policy Framework) records specify which servers are allowed to send email for a domain, DKIM (DomainKeys Identified Mail) records provide public keys for verifying email signatures, and DMARC records tell receiving mail servers what to do when SPF or DKIM checks fail. Checking these records is the first step in diagnosing email deliverability problems.

How to use SRV Record Lookup

  1. Enter a domain name (e.g. example.com, without http://).
  2. Select a record type (A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, SRV, PTR) or an email policy check (DMARC, SPF, DKIM).
  3. Click Lookup to see live DNS records, then copy all results with one click.

Frequently Asked Questions

What is an SRV record?
An SRV (Service) record publishes the hostname and port for a specific service on a domain, along with priority and weight values. It lets clients discover where a service runs without hardcoding a host and port.
Why does an SRV record name start with underscores?
The format is _service._protocol.domain, and the underscores are required by the specification. They keep service names in a separate space from ordinary hostnames, so _sip._tcp.example.com cannot collide with a real host called sip.
What do priority and weight mean?
Priority sets the order, lowest first, exactly like MX records. Weight only matters between records sharing the same priority, distributing traffic in proportion to the values, so a weight of 30 against 10 takes roughly three quarters of the connections.
Can an SRV target be an IP address?
No. The target must be a hostname that resolves to an A or AAAA record, and it must not be a CNAME. Pointing it at an address directly breaks clients that follow the specification.
Which services use SRV records?
Microsoft 365 and Exchange autodiscovery, XMPP chat, SIP telephony, LDAP and Minecraft servers among others. If a client offers automatic configuration from just a domain name, an SRV record is usually how it works.

Related Tools

Also Available As