DNS Queries over HTTPS (DoH)
draft-ietf-doh-dns-over-https-12

Document Type Active Internet-Draft (doh WG)
Last updated 2018-07-03 (latest revision 2018-06-27)
Replaces draft-hoffman-dispatch-dns-over-https, draft-hoffman-dns-over-https
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf html bibtex
Stream WG state Submitted to IESG for Publication
Document shepherd Benjamin Schwartz
Shepherd write-up Show (last changed 2018-07-03)
IESG IESG state Publication Requested
Consensus Boilerplate Unknown
Telechat date
Responsible AD Adam Roach
Send notices to Benjamin Schwartz <bemasc@google.com>
Network Working Group                                         P. Hoffman
Internet-Draft                                                     ICANN
Intended status: Standards Track                              P. McManus
Expires: December 29, 2018                                       Mozilla
                                                           June 27, 2018

                      DNS Queries over HTTPS (DoH)
                    draft-ietf-doh-dns-over-https-12

Abstract

   This document describes how to make DNS queries over HTTPS.

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 https://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 December 29, 2018.

Copyright Notice

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

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://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.

Hoffman & McManus       Expires December 29, 2018               [Page 1]
Internet-Draft        DNS Queries over HTTPS (DoH)             June 2018

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Protocol Requirements . . . . . . . . . . . . . . . . . . . .   3
     3.1.  Non-requirements  . . . . . . . . . . . . . . . . . . . .   4
   4.  Selection of DoH Server . . . . . . . . . . . . . . . . . . .   4
   5.  The HTTP Exchange . . . . . . . . . . . . . . . . . . . . . .   4
     5.1.  The HTTP Request  . . . . . . . . . . . . . . . . . . . .   4
       5.1.1.  HTTP Request Examples . . . . . . . . . . . . . . . .   5
     5.2.  The HTTP Response . . . . . . . . . . . . . . . . . . . .   7
       5.2.1.  Handling DNS and HTTP Errors  . . . . . . . . . . . .   7
       5.2.2.  HTTP Response Example . . . . . . . . . . . . . . . .   7
   6.  HTTP Integration  . . . . . . . . . . . . . . . . . . . . . .   8
     6.1.  Cache Interaction . . . . . . . . . . . . . . . . . . . .   8
     6.2.  HTTP/2  . . . . . . . . . . . . . . . . . . . . . . . . .  10
     6.3.  Server Push . . . . . . . . . . . . . . . . . . . . . . .  10
     6.4.  Content Negotiation . . . . . . . . . . . . . . . . . . .  10
   7.  Definition of the application/dns-message media type  . . . .  10
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  11
     8.1.  Registration of application/dns-message Media Type  . . .  11
   9.  Privacy Considerations  . . . . . . . . . . . . . . . . . . .  13
     9.1.  On The Wire . . . . . . . . . . . . . . . . . . . . . . .  13
     9.2.  In The Server . . . . . . . . . . . . . . . . . . . . . .  13
   10. Security Considerations . . . . . . . . . . . . . . . . . . .  15
   11. Operational Considerations  . . . . . . . . . . . . . . . . .  15
   12. References  . . . . . . . . . . . . . . . . . . . . . . . . .  17
     12.1.  Normative References . . . . . . . . . . . . . . . . . .  17
     12.2.  Informative References . . . . . . . . . . . . . . . . .  18
   Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . .  20
   Previous Work on DNS over HTTP or in Other Formats  . . . . . . .  20
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  20

1.  Introduction

   This document defines a specific protocol for sending DNS [RFC1035]
   queries and getting DNS responses over HTTP [RFC7540] using https
   URIs (and therefore TLS [RFC5246] security for integrity and
   confidentiality).  Each DNS query-response pair is mapped into a HTTP
   exchange.

   The described approach is more than a tunnel over HTTP.  It
   establishes default media formatting types for requests and responses
   but uses normal HTTP content negotiation mechanisms for selecting
   alternatives that endpoints may prefer in anticipation of serving new
   use cases.  In addition to this media type negotiation, it aligns
   itself with HTTP features such as caching, redirection, proxying,
Show full document text