1. Home
  2. Developer tools
  3. SRV Record Lookup

SRV Record Lookup

SRV records say which host and port provide a service. Choose a service name, enter the domain and see the records in the order clients use them.

Free, no sign-up. Runs in your browser; see “Private by design” for the one online step.

How to use SRV Record Lookup

  1. Enter the service and protocol, or pick one.
  2. Enter the domain.
  3. Press Look up.

Features

  • Presets for SIP, XMPP, mail, calendar, LDAP, Kerberos and more
  • Sorted by priority
  • Weight shown as a share of its priority group
  • Detects the “service unavailable” target
  • Validates the service name
  • Cloudflare or Google resolver

Supported formats

Input

  • Domain names
  • Typed or pasted text

You get

  • Service targets with ports
  • Priority and weight

Private by design

Nothing is sent until you press the button. Then the domain names or addresses needed for the check (for example the name and the record type) are sent over HTTPS to the resolver you choose, Cloudflare (cloudflare-dns.com) or Google (dns.google), which see them under their own privacy terms and your IP address. openWorkstand never receives them. How local processing works

Good to know

  • It looks up the name you give; it does not know whether a service actually runs at the target.
  • Weights are shown as shares of a priority group, but clients choose at random.

Guide

SRV records: finding the host and port of a service

Most DNS lookups answer “what address?”. An SRV record answers “where, exactly, is this service?” with a host name and a port, so the service can run on any machine and any port without the clients being reconfigured. Internet telephony, chat, calendars, directory services and game servers rely on it. The page looks up the SRV records for a service name and shows how a client would choose among them.

The name and the record

An SRV name has three parts: an underscore-prefixed service, an underscore-prefixed protocol and the domain. _sip._tcp.example.com asks for SIP over TCP at example.com. The answer gives four numbers and a name: priority, weight, port and the target host. RFC 2782 defines the format. The target needs its own A or AAAA record, because the SRV record carries a name and not an address. The page offers the common service names as presets, so you do not have to remember the underscores.

How clients choose

A client sorts the records by priority and takes the lowest. If several records share that priority, it picks one at random, with probability proportional to weight. If the chosen server cannot be reached, it tries another from the same group, and then moves to the next priority. The page makes this concrete in a column “Share of its priority group”: records with weights 60 and 20 show 75 % and 25 %. A weight of 0 gives a record very little chance of being chosen while others of the same priority exist.

The explicit “no service” answer

A target of a single dot means the service is deliberately unavailable at this domain (RFC 2782). A client should stop looking instead of falling back to a default port. The page recognises this and states it. A name with no SRV records at all is different: the client may use its built-in default, if it has one. Browsers do not use SRV to find websites, so adding records for _http._tcp does not change how a site is reached.

Where you will see SRV

SIP and SIPS for voice calls, XMPP for chat servers, IMAP, submission and CalDAV/CardDAV for account autoconfiguration, LDAP and Kerberos in Active Directory networks, Minecraft Java servers (so players can connect without typing a port), Matrix federation and Microsoft’s autodiscover. Each of these has the service and protocol names built into the preset list.

A worked example

Press Sample to look up _sip._tcp.sip2sip.info. When this guide was reviewed the page showed one record: priority 100, weight 100, a share of its priority group of 100 %, port 5060 and target proxy.sipthor.net, with a TTL of 300 seconds. A client connecting would therefore resolve proxy.sipthor.net and open TCP port 5060. The NAPTR Lookup for the same domain shows the earlier step in which SIP chooses between transports.

Limits

The lookup is for the name you enter. The page does not guess a service from a domain, test whether the port is open or check that the target answers. Some resolvers are slow for names that do not exist, so an empty result can take a moment to appear. Port numbers can be checked against the Port Number Lookup.

Checked against the current version of the SRV Record Lookup on .

Frequently asked questions

Why do SRV records have both priority and weight?

Priority gives strict ordering, for failover: a higher number is used only if all lower numbers fail. Weight shares load among servers at the same priority, so a server with weight 60 gets about three times the traffic of one with weight 20.

Why does a mail client need an SRV record at all?

Autoconfiguration. Records such as _imaps._tcp or _submission._tcp tell an app which server and port to use for a domain, so users can set up an account by typing only their address.

How do clients choose between SRV records?

They use the lowest priority first. Among records with the same priority they choose at random, in proportion to the weights.

What does a target of a single dot mean?

The service is explicitly not available at this domain (RFC 2782).

Is anything sent over the internet?

Nothing is sent until you press the button. Then the domain names or addresses needed for the check (for example the name and the record type) are sent over HTTPS to the resolver you choose, Cloudflare (cloudflare-dns.com) or Google (dns.google), which see them under their own privacy terms and your IP address. openWorkstand never receives them.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.