ISP Location in DNS Queries
draft-pan-dnsop-edns-isp-location-01

Document Type Active Internet-Draft (individual)
Last updated 2017-05-11
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
dnsop                                                             L. Pan
Internet-Draft
Intended status: Informational                                     Y. Fu
Expires: November 12, 2017                                         CNNIC
                                                            May 11, 2017

                      ISP Location in DNS Queries
                  draft-pan-dnsop-edns-isp-location-01

Abstract

   This document describes an Extension Mechanisms for DNS (EDNS0)
   option that is in active use to carry < COUNTRY, AREA, ISP > isp
   location information about the network that originated a DNS query
   and the network for which the subsequent response can be cached.

   It is inspired by EDNS Client Subnet (ECS) with some privacy
   considerations, goals to reduce the "guess location of client's IP"
   work on Authoritative Nameservers.

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 November 12, 2017.

Copyright Notice

   Copyright (c) 2017 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
   (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

Pan & Fu                Expires November 12, 2017               [Page 1]
Internet-Draft         ISP Location in DNS Queries              May 2017

   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  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Path Calculation and Tailored DNS Response  . . . . . . .   3
   2.  Requirements Language . . . . . . . . . . . . . . . . . . . .   5
   3.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   5
   4.  Overview  . . . . . . . . . . . . . . . . . . . . . . . . . .   5
   5.  The EIL EDNS0 option  . . . . . . . . . . . . . . . . . . . .   6
   6.  Protocol Description  . . . . . . . . . . . . . . . . . . . .   7
     6.1.  Originating the Option  . . . . . . . . . . . . . . . . .   7
       6.1.1.  P-Model: Public Recursive Resolver  . . . . . . . . .   7
       6.1.2.  I-Model: ISP Recursive Resolver . . . . . . . . . . .   8
       6.1.3.  L-Model: Local Forwarding Resolver  . . . . . . . . .   8
     6.2.  Generating a Response . . . . . . . . . . . . . . . . . .   9
       6.2.1.  Whitelist . . . . . . . . . . . . . . . . . . . . . .   9
       6.2.2.  Authoritative Nameserver  . . . . . . . . . . . . . .   9
       6.2.3.  Intermediate Nameserver . . . . . . . . . . . . . . .   9
     6.3.  Handling EIL Responses and Caching  . . . . . . . . . . .   9
       6.3.1.  Caching the Response  . . . . . . . . . . . . . . . .  10
       6.3.2.  Answering from Cache  . . . . . . . . . . . . . . . .  10
       6.3.3.  Support ECS and EIL at the same time  . . . . . . . .  10
     6.4.  Delegations and Negative Answers  . . . . . . . . . . . .  11
     6.5.  Transitivity  . . . . . . . . . . . . . . . . . . . . . .  12
     6.6.  Response Accuracy . . . . . . . . . . . . . . . . . . . .  12
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .  12
     7.1.  DNSSEC  . . . . . . . . . . . . . . . . . . . . . . . . .  12
     7.2.  Privacy . . . . . . . . . . . . . . . . . . . . . . . . .  12
     7.3.  Target Censorship . . . . . . . . . . . . . . . . . . . .  12
     7.4.  Cache Size  . . . . . . . . . . . . . . . . . . . . . . .  13
     7.5.  DDoS  . . . . . . . . . . . . . . . . . . . . . . . . . .  13
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  13
   9.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  13
   10. Appendix A. Example . . . . . . . . . . . . . . . . . . . . .  13
     10.1.  Example 1: P-Model . . . . . . . . . . . . . . . . . . .  14
     10.2.  Example 2: I-Model . . . . . . . . . . . . . . . . . . .  14
Show full document text