Internet Engineering Task Force (IETF) J. Appelbaum
Request for Comments: 7686 The Tor Project, Inc.
Category: Standards Track A. Muffett
ISSN: 2070-1721 Facebook
October 2015
The ".onion" Special-Use Domain Name
Appelbaum & Muffett Standards Track [Page 1]
RFC 7686 .onion October 2015
Table of Contents
1. Introduction
The Tor network [Dingledine2004] has the ability to host network services using the ".onion" Special-Use Top-Level Domain Name. Such names can be used as other domain names would be (e.g., in URLs [RFC3986]), but instead of using the DNS infrastructure, .onion names functionally correspond to the identity of a given service, thereby combining location and authentication.
Appelbaum & Muffett Standards Track [Page 2]
RFC 7686 .onion October 2015
Note that .onion names are required to conform with DNS name syntax (as defined in Section 3.5 of [RFC1034] and Section 2.1 of [RFC1123]), as they will still be exposed to DNS implementations.
1.1. Notational Conventions
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].
2. The ".onion" Special-Use Domain Name
These properties have the following effects upon parties using or processing .onion names (as per [RFC6761]):
Appelbaum & Muffett Standards Track [Page 3]
RFC 7686 .onion October 2015
6. DNS Server Operators: Operators MUST NOT configure an authoritative DNS server to answer queries for .onion. If they do so, client software is likely to ignore any results (see above).
3. IANA Considerations
This document registers ".onion" in the registry of Special-Use Domain Names [RFC6761]. See Section 2 for the registration template.
4. Security Considerations
The security properties of .onion names can be compromised if, for example:
Appelbaum & Muffett Standards Track [Page 4]
RFC 7686 .onion October 2015
A legacy client may inadvertently attempt to resolve a .onion name through the DNS. This causes a disclosure that the client is attempting to use Tor to reach a specific service. Malicious resolvers could be engineered to capture and record such leaks, which might have very adverse consequences for the well-being of the user. This issue is mitigated if the client's software is updated to not leak such queries or updated to support [tor-rendezvous], or if the client's DNS software is updated to drop any request to the .onion special-use domain name.5. References 5.1. Normative References[Dingledine2004]
Appelbaum & Muffett Standards Track [Page 5]
RFC 7686 .onion October 2015 5.2. Informative References[RFC1034] Mockapetris, P., "Domain names - concepts and facilities",
Appelbaum & Muffett Standards Track [Page 6]
RFC 7686 .onion October 2015
Authors' Addresses