Skip to main content
URI

URI Record

Active

The URI DNS record maps a hostname to a URI.

name TTL IN URI priority weight "uri"

In one line

The URI DNS record maps a hostname to a URI. It is used to publish service URIs – web endpoints, SIP addresses, XMPP services – discoverable via DNS. URI records have a priority, weight, and a URI string. They are queried with an owner name derived from service, protocol, and domain, similar to SRV records.

Description

URI records (RFC 7553) allow publishing arbitrary URIs in DNS, serving as an alternative to SRV for services that use URIs natively. The owner name format is _service._proto.name. Priority and weight control selection when multiple URI records exist (lower priority wins; equal priorities use weight for load distribution). URI records are used in federated identity systems, XMPP, SIP, and some IoT service discovery contexts.

Examples

Web service URI
shell
_http._tcp.example.com. IN URI 10 1 "https://www.example.com/path"
SIP service URI
shell
_sip._tcp.example.com. IN URI 10 1 "sip:[email protected]"
Query URI record
shell
dig _http._tcp.example.com URI

Related Record Types

Specification

RFC 7553 – DNS URI record specification →