Let 'localhost' be localhost.
draft-west-let-localhost-be-localhost-06

Document Type Active Internet-Draft (candidate for dnsop WG)
Last updated 2017-09-06 (latest revision 2017-08-31)
Stream IETF
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream WG state Call For Adoption By WG Issued
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
DNSOP                                                            M. West
Internet-Draft                                               Google, Inc
Updates: 6761 (if approved)                              August 31, 2017
Intended status: Standards Track
Expires: March 4, 2018

                     Let 'localhost' be localhost.
                draft-west-let-localhost-be-localhost-06

Abstract

   This document updates RFC6761 with the goal of ensuring that
   "localhost" can be safely relied upon as a name for the local host's
   loopback interface.  To that end, stub resolvers are required to
   resolve localhost names to loopback addresses.  Recursive DNS servers
   are required to return "NXDOMAIN" when queried for localhost names,
   making non-conformant stub resolvers more likely to fail and produce
   problem reports that result in updates.

   Together, these requirements would allow applications and
   specifications to join regular users in drawing the common-sense
   conclusions that "localhost" means "localhost", and doesn't resolve
   to somewhere else on the network.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on March 4, 2018.

Copyright Notice

   Copyright (c) 2017 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

West                      Expires March 4, 2018                 [Page 1]
Internet-Draft         let-localhost-be-localhost            August 2017

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology and notation  . . . . . . . . . . . . . . . . . .   4
   3.  The "localhost." Special-Use Domain Name  . . . . . . . . . .   4
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   5
     4.1.  Domain Name Reservation Considerations  . . . . . . . . .   5
     4.2.  DNSSEC  . . . . . . . . . . . . . . . . . . . . . . . . .   5
       4.2.1.  Option 1: Explicit delegation . . . . . . . . . . . .   5
       4.2.2.  Option 2: Implicit failure  . . . . . . . . . . . . .   6
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   6
     5.1.  Applications are encouraged to resolve localhost names
           themselves. . . . . . . . . . . . . . . . . . . . . . . .   6
   6.  Implementation Considerations . . . . . . . . . . . . . . . .   6
     6.1.  Non-DNS usage of localhost names  . . . . . . . . . . . .   6
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   6
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .   7
     7.2.  Informative References  . . . . . . . . . . . . . . . . .   7
   Appendix A.  Changes from RFC 6761  . . . . . . . . . . . . . . .   8
   Appendix B.  Changes in this draft  . . . . . . . . . . . . . . .   8
     B.1.  draft-west-let-localhost-be-localhost-06  . . . . . . . .   8
     B.2.  draft-west-let-localhost-be-localhost-05  . . . . . . . .   8
     B.3.  draft-west-let-localhost-be-localhost-04  . . . . . . . .   8
     B.4.  draft-west-let-localhost-be-localhost-03  . . . . . . . .   9
     B.5.  draft-west-let-localhost-be-localhost-02  . . . . . . . .   9
     B.6.  draft-west-let-localhost-be-localhost-01  . . . . . . . .   9
     B.7.  draft-west-let-localhost-be-localhost-00  . . . . . . . .   9
   Appendix C.  Acknowledgements . . . . . . . . . . . . . . . . . .   9
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   9

1.  Introduction

   The "127.0.0.0/8" IPv4 address block and "::1/128" IPv6 address block
Show full document text