📡 SRV Lookup Tool

Check any service record — priority, weight, port, and target host — for SIP, XMPP, LDAP, Minecraft, Active Directory and more. Live, free, no signup.

Examples: _sip._tcp.example.com   _xmpp-client._tcp.gmail.com   _minecraft._tcp.example.com
🕒 Recent Lookups
No recent lookups yet.
Most DNS record types map a name to an address. The SRV record does something more specific: it maps an entire named service to wherever it actually happens to be running right now — a different host, a non-standard port, one of several redundant servers weighted by capacity. It's the mechanism quietly underneath Active Directory domain controller discovery, SIP phone provisioning, XMPP federation, LDAP directory lookups, and yes, the Minecraft server your friends connect to using a plain domain name instead of a port number. This tool queries any service's SRV records live; the reference below explains the format and its real-world uses in depth.
⭐ ToolsNovaHub Pro Tip
Always query the exact underscore-prefixed service name — _service._proto.domain — not just the bare domain. A plain SRV query against example.com will return nothing; the service and protocol labels are a required part of the name, not optional metadata.
⚠️ Common Beginner Mistake
Assuming lower priority means less important. It's the opposite — lower priority numbers are preferred and tried first, exactly like MX record priority. A priority of 0 is the most preferred target, not the least.

🔍 What Is an SRV Record?

An SRV (Service) record, defined in RFC 2782, publishes the location of a specific named service under a domain — which host actually runs it, which port it listens on, and how clients should choose between multiple available servers. Where an A record answers "where is this hostname," an SRV record answers a more specific question: "where is the SIP service, or the LDAP service, or this particular game server, for this domain — right now, on whatever host and port it's actually configured on."

This distinction matters because it decouples a service's logical identity (the domain a user types or configures) from its physical deployment details (the actual server and port it runs on today). A service can move to a new host, change ports, or scale across multiple redundant servers, and none of that requires changing anything the end user sees — only the SRV record needs updating, and every properly configured client picks up the change automatically on its next lookup.

📋 SRV Record Syntax

_sip._tcp.example.com.  3600  IN  SRV  10  60  5060  sipserver.example.com.
                                        |   |   |    |
                                    priority weight port  target

The record name itself follows a strict format: an underscore-prefixed service name, an underscore-prefixed protocol, then the domain — _service._proto.name. The underscore prefixes exist specifically to avoid collisions with real hostnames, since "_sip" and "_tcp" aren't valid hostname labels on their own, making it unambiguous that this is a service discovery record rather than an ordinary subdomain.

🎯 Priority, Weight, Port & Target

FieldPurpose
PriorityLower numbers are preferred; clients try the lowest-priority target(s) first
WeightAmong targets sharing the same priority, distributes load proportional to weight
PortThe TCP or UDP port the service actually listens on
TargetThe hostname actually running the service — needs its own A/AAAA record

Priority and weight work together the same way MX record priority does, but with an added load-distribution layer: a client first sorts all returned targets by priority, ascending. Within any group sharing the same priority, targets are selected randomly in proportion to their weight — a target with weight 60 gets roughly twice the traffic of one with weight 30 at the same priority level. A weight of 0 is valid and means "no preference within this priority tier, but should still be usable."

⚙️ How This Tool Queries SRV Data

1

You Enter a Full Service Name

Type the complete underscore-prefixed service, protocol, and domain.

2

An SRV Query Is Sent

The tool queries a public DNS resolver for the SRV record type against that exact name.

3

Every Target Is Parsed

Priority, weight, port, and target host are extracted for each returned record.

4

Results Are Sorted by Priority

Targets are displayed in the order a real client would actually try them.

🔎 DNS Service Discovery Explained

SRV records are the core mechanism behind what's broadly called DNS-based service discovery — letting an application find a service's actual network location dynamically, through a lookup, rather than requiring a hardcoded hostname and port baked into configuration. This pattern predates and, in many enterprise contexts, still outperforms newer service-discovery systems for its simplicity: no additional infrastructure is required beyond DNS itself, which every network already has.

🏢 Microsoft Active Directory

Active Directory is arguably the single largest real-world consumer of SRV records. Domain-joined computers use SRV lookups against records like _ldap._tcp.dc._msdcs.domain.com and _kerberos._tcp.domain.com to automatically locate the nearest available domain controller, Kerberos authentication server, and Global Catalog server — all without any client-side configuration specifying which physical server to use. This is what allows a laptop to authenticate correctly whether it's on a corporate network in one city or connecting via VPN from another, entirely through DNS-driven discovery.

📞 SIP & VoIP Services

SIP (Session Initiation Protocol) phones and softphone clients use _sip._tcp, _sip._udp, and _sips._tcp (for TLS-secured SIP) SRV records to locate a domain's call-signaling server, letting a business publish a single domain for SIP addressing while the underlying VoIP infrastructure runs on whatever host, port, and redundant server configuration is actually deployed behind it.

💬 XMPP Federation

XMPP (the protocol behind many chat and federation systems) relies on _xmpp-client._tcp and _xmpp-server._tcp SRV records specifically to enable federation — letting one XMPP server on one domain discover and connect directly to another XMPP server on a completely different domain, purely through DNS, without any manual peering configuration between the two organizations.

📁 LDAP Directory Services

LDAP clients — not just Active Directory's own tooling, but any standards-compliant LDAP client — use _ldap._tcp SRV records to locate directory servers for a domain automatically, a pattern used well beyond Windows environments in many enterprise identity and directory systems built on open LDAP implementations.

🎮 Minecraft Servers

Minecraft's use of SRV records solves a genuinely practical problem: the default Minecraft port (25565) is easy to remember, but a server operator running multiple game servers, or simply wanting a friendlier connection experience, often needs a non-default port. Without SRV support, players would need to type both a hostname and a port number to connect. With a correctly configured _minecraft._tcp SRV record, players just type the domain, and the Minecraft client automatically looks up the SRV record to find the real host and port — a small but genuinely useful piece of DNS infrastructure quietly running behind a huge number of community game servers.

⚖️ Load Balancing & Failover

Multiple SRV records at the same priority, with weights reflecting relative server capacity, give SRV-aware clients built-in load distribution without needing a separate load balancer for service discovery itself. Multiple priority tiers give equally built-in failover: if every target at the lowest priority becomes unreachable, a compliant client automatically falls back to the next priority tier — a pattern conceptually identical to MX record failover, applied generically to any service type.

🏢 Enterprise & Cloud Deployments

Large organizations running internal service meshes or hybrid cloud deployments frequently use SRV records (or SRV-compatible service discovery built on the same underlying model) to let internal applications discover backend services dynamically as infrastructure scales up, scales down, or migrates between data centers and cloud regions — the DNS layer abstracts away the constantly shifting physical topology from the applications consuming those services.

📊 Comparison Tables

Record TypePurpose
SRVMaps a named service to a host, port, priority and weight
A / AAAAMaps a hostname to an IPv4/IPv6 address only, no port or priority
CNAMEAliases one hostname to another, no service or port information
MXMaps a domain to mail servers with priority, but no weight or port field
TXTFree-form text, unrelated to service location

Priority vs. Weight

FieldGovernsBehavior
PriorityOrder of preference between tiersLower always tried first, strictly
WeightDistribution within the same tierProportional, randomized selection

Microsoft SRV vs. Standard SRV

AspectStandard SRV UsageActive Directory SRV Usage
Naming convention_service._proto.domainIncludes additional AD-specific labels like _msdcs, site names
PurposeGeneral service discoveryDomain controller, Kerberos, Global Catalog discovery

🖥️ Automation & API Usage

PlatformCommand
Linux / macOS (dig)dig SRV _sip._tcp.example.com +short
Windows (nslookup)nslookup -type=SRV _sip._tcp.example.com
Windows (PowerShell)Resolve-DnsName -Type SRV _sip._tcp.example.com

Monitoring and orchestration systems commonly poll SRV records programmatically as a lightweight service-registry mechanism — checking which targets are currently published lets automated tooling adapt routing decisions without needing a dedicated service-discovery platform layered on top of DNS.

🔒 Security Considerations

Because SRV records directly determine where clients connect for authentication-sensitive services like Kerberos and LDAP, an attacker who could inject or spoof SRV responses could, in principle, redirect clients toward malicious infrastructure — a strong argument for DNSSEC on any zone hosting SRV records for identity or authentication-critical services. Reviewing which SRV records are currently published, and confirming every target genuinely belongs to trusted infrastructure, is a reasonable part of any periodic domain security audit.

⏱️ Performance

SRV-based service discovery adds one extra DNS lookup compared to a hardcoded host:port configuration, but this overhead is negligible in practice given DNS caching, and it's vastly outweighed by the operational flexibility gained — services can be moved, rebalanced, or failed over without touching a single client configuration.

❌ Common Mistakes

⚠️ Querying the bare domain instead of the full service name
SRV lookups require the complete _service._proto.domain format — a plain domain query returns nothing.
⚠️ Misreading priority as importance ranking in the wrong direction
Lower priority numbers are preferred, exactly like MX records — 0 is the most preferred, not the least.
⚠️ Forgetting the target host needs its own A/AAAA record
An SRV record only points at a hostname — that hostname still needs a valid address record to actually be reachable.
⚠️ Using weight values that don't reflect real server capacity
Arbitrary weight assignments can send disproportionate load to under-provisioned servers.

✅ Best Practices

Publish multiple targets at the lowest priority tier whenever redundancy matters, with weights genuinely proportional to each server's real capacity. Keep target hostnames resolvable with correct, current A/AAAA records — an unreachable target defeats the purpose of the SRV record entirely. Enable DNSSEC on zones publishing SRV records for authentication-sensitive services. Document your organization's SRV naming conventions clearly for anyone maintaining the zone later.

📊 Pros & Cons

AspectAdvantageLimitation
FlexibilityServices can move without client reconfigurationRequires SRV-aware client software to work at all
Load distributionBuilt-in weighting without extra infrastructureLess sophisticated than a dedicated load balancer
AdoptionWell-supported for VoIP, AD, LDAP, XMPPNot universally supported by every application type (e.g. most web browsers ignore SRV for HTTP)

🔧 Troubleshooting

⚠️ Service client can't find the server
Confirm you're querying the exact underscore-prefixed name the client software expects — naming conventions vary slightly by service.
⚠️ Some clients connect, others don't
Check whether all clients actually support SRV lookups — some older or simpler clients ignore SRV and require manual host:port configuration.
⚠️ Traffic isn't distributing as expected across servers
Verify weight values are actually proportional to intended capacity, and that all targets share the same priority tier if equal distribution is the goal.

🎓 Expert Tips

🔎
Always Query the Full Service Name
Include the underscore-prefixed service and protocol labels exactly as the consuming application expects.
🔒
Secure Authentication-Critical SRV Zones
DNSSEC matters more for zones publishing Kerberos, LDAP, or AD-related SRV records than for general-purpose ones.
⚖️
Weight Proportionally to Real Capacity
Base weight values on actual server capability, not arbitrary or default numbers.

For the complete record picture beyond SRV, use DNS Lookup. Check which servers are authoritative with NS Lookup, verify mail routing with MX Lookup, and check zone administration data with SOA Lookup. Confirm a target host's open ports with Open Port Checker.

📚 Want the full picture on service records? Read: SRV Records Explained → · Setting up SIP? SIP SRV Guide →

ToolsNovaHub tools are built and independently maintained with a focus on accurate, no-signup network and security utilities. Spotted an error? Let us know.

📋 Related Tools & Guides Comparison

ResourceTypeLink
DNS LookupNetworkOpen Tool →
NS LookupNetworkOpen Tool →
SOA LookupNetworkOpen Tool →
SRV Records ExplainedGuideRead Guide →
SIP SRV GuideGuideRead Guide →
Microsoft SRV GuideGuideRead Guide →

FAQ

An SRV (Service) record maps a specific service running on a domain to a target host and port, along with priority and weight values that control which server clients should try first.
Priority determines the order clients try targets in — lower numbers are tried first. Weight distributes load among targets sharing the same priority, proportional to their weight value.
An A record only maps a hostname to an IP address. An SRV record maps a specific named service and protocol to a target host, port, priority and weight.
An SRV record lets a Minecraft server run on a non-standard port while players connect using just the domain name, since the client looks up the SRV record automatically.
Yes — Active Directory relies heavily on SRV records for clients to locate domain controllers, Kerberos servers, and Global Catalog servers automatically.
The full underscore-prefixed name: _service._proto.domain, such as _sip._tcp.example.com — a bare domain query returns no SRV results.
No — most web browsers ignore SRV records entirely for standard HTTP/HTTPS, relying on A/AAAA records and standard ports instead.
The service becomes unreachable through that target — an SRV record only points at a hostname, which still needs its own valid A/AAAA record to be usable.
Yes — multiple targets at the same priority, weighted proportionally to capacity, provide built-in load distribution without a separate load balancer.
If every target at the lowest priority tier becomes unreachable, a compliant client automatically falls back to targets at the next priority tier.
Yes — _xmpp-client._tcp and _xmpp-server._tcp SRV records enable XMPP clients to connect and enable server-to-server federation between domains.
Especially for authentication-sensitive services like Kerberos and LDAP, since a spoofed SRV response could redirect clients toward malicious infrastructure.
Equal weight values across targets at the same priority tier (e.g. all set to the same number) results in roughly equal distribution.
Yes — completely free, no signup, unlimited queries, returning live results from a public DNS resolver.
Yes — a single domain commonly publishes many SRV records simultaneously, one set per service, such as separate entries for SIP, LDAP, and XMPP.