rfc-3861

Address Resolution for Instant Messaging and Presence

J. Peterson
date2004-08 streamIETF areaapp wgimpp statusPROPOSED STANDARD pages8 canonicalhttps://www.rfc-editor.org/rfc/rfc3861 doi10.17487/RFC3861
Presence and instant messaging are defined in RFC 2778. The Common Profiles for Presence and Instant Messaging define two Universal Resource Identifier (URI) schemes: 'im' for INSTANT INBOXes and 'pres' for PRESENTITIES. This document provides guidance for locating the resources associated with URIs that employ these schemes. [STANDARDS-TRACK]

Extracted elements (15)

design-rationale §1

IM and PRES URIs are useful even without CPIM/CPP gatewaying: if a principal's endpoint supports multiple IM applications, DNS SRV records allow clients supporting only one protocol to discover compatible endpoints, using an IM URI as the canonical address.

realtime, dns

design-rationale §1

The DNS-based SRV mechanism serves a role analogous to MX records for email: an IM service provider can operate CPIM/CPP gateways identified by an IM URI, mapping standard Internet protocols to internal proprietary protocols.

dns, realtime, email

design-rationale §3

The '_im' and '_pres' SRV Service labels must be paired with a specific Protocol label because these services may pass messages over multiple different transport protocols. Without the Protocol field, the advertisement would be incomplete and non-deterministic.

dns, realtime

interoperability-note §3

Clients supporting multiple IM or presence protocols may make several SRV queries in application-specific order until they find a protocol supported in common with the target domain. Resolvers must follow RFC 2782 procedures for handling priority and weight fields.

dns, realtime

normative-requirement §4 MUST

A DNS lookup MUST be performed to resolve the domain once a client identifies a domain for IM or presence delivery. The names MUST be fully-qualified domain names (FQDNs).

dns, realtime, sip

normative-requirement §6 MUST

For reliable operations, the client MUST be able to try each of the relevant addresses in the list of alternative delivery addresses in order, until a delivery attempt succeeds. The client SHOULD try at least two addresses.

dns, realtime

normative-requirement §4 MUST NOT

If one or more SRV RRs are found for a given domain, a sender MUST NOT utilize any A RRs associated with that domain unless they are located using the SRV RRs.

dns, realtime

normative-requirement §8 MUST

Protocol labels compliant with this specification MUST begin with the underscore character '_' and follow all other rules for SRV Protocol labels described in RFC 2782.

dns, registry, realtime

normative-requirement §7 MUST

Subsequent registrations of Protocol labels for use with the '_im' or '_pres' Service labels MUST explain any security considerations that arise from the use of the protocol in question with SRV.

dns, security, registry

protocol-element §4

If a CNAME RR is found during the SRV lookup, the resulting domain is processed as if it were the initial domain.

dns, realtime

protocol-element §4

If no SRV RRs are found but an A RR is found, the A RR is treated as if it was associated with an implicit SRV RR with a preference of 0, pointing to that domain.

dns, realtime

protocol-element §5

Receiving systems list transfer protocols by which they can be reached (directly or through a translating gateway) using combinations of Service and Protocol labels in SRV records. A separate RR for a gateway must be present for each transfer protocol and domain pair it serves.

dns, realtime

protocol-element §3

The SRV Service field symbolic name is '_im' for instant messaging and '_pres' for presence, matching their respective URI schemes. The Protocol field contains an IANA-registered label for the underlying IM or presence protocol.

dns, realtime

registry §8

IANA created two independent registries: the Instant Messaging SRV Protocol Label registry and the Presence SRV Protocol Label registry. Each entry consists of a label name and a pointer to a specification describing how the named protocol uses SRV. Specifications must conform to RFC 2434 'specification required' requirements.

registry, dns, realtime

security-consideration §7

The usage of IM and PRES URIs and the DNS procedures in this document introduce no security considerations beyond those described in RFC 2779 (IM/presence requirements) and RFC 2782 (SRV specification).

security, dns, realtime