DNS Response Policy Zones (RPZ)
draft-ietf-dnsop-dns-rpz-00

Document Type Active Internet-Draft (dnsop WG)
Last updated 2017-03-09
Replaces draft-vixie-dns-rpz
Stream IETF
Intended RFC status Informational
Formats plain text xml pdf html bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
Domain Name System Operations                                   P. Vixie
Internet-Draft                                   Farsight Security, Inc.
Intended status: Informational                               V. Schryver
Expires: September 10, 2017                       Rhyolite Software, LLC
                                                           March 9, 2017

                    DNS Response Policy Zones (RPZ)
                      draft-ietf-dnsop-dns-rpz-00

Abstract

   This document describes a method for expressing DNS response policy
   inside a specially constructed DNS zone, and for recursive name
   servers to use such policy to return modified results to DNS clients.
   The modified DNS results can stop access to selected HTTP servers,
   redirect users to "walled gardens", block objectionable email, and
   otherwise defend against attack.  These "DNS Firewalls" are widely
   used in fighting Internet crime and abuse.

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 September 10, 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
   to this document.  Code Components extracted from this document must

Vixie & Schryver       Expires September 10, 2017               [Page 1]
Internet-Draft                   DNS RPZ                      March 2017

   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.

   This document may not be modified, and derivative works of it may not
   be created, except to format it for publication as an RFC or to
   translate it into languages other than English.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Zone Format . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Policy Actions  . . . . . . . . . . . . . . . . . . . . . . .   5
     3.1.  The "NXDOMAIN" Action (CNAME .) . . . . . . . . . . . . .   5
     3.2.  The "NODATA" Action (CNAME *.)  . . . . . . . . . . . . .   5
     3.3.  The "PASSTHRU" Action (CNAME rpz-passthru.) . . . . . . .   5
     3.4.  The "DROP" Action (CNAME rpz-drop.) . . . . . . . . . . .   6
     3.5.  The "TCP-Only" Action (CNAME rpz-tcp-only.) . . . . . . .   6
     3.6.  The "Local Data" Action (arbitrary RR types)  . . . . . .   6
   4.  Policy Triggers . . . . . . . . . . . . . . . . . . . . . . .   8
     4.1.  The "Client IP Address" Trigger (.rpz-client-ip)  . . . .   9
     4.2.  The "QNAME" Trigger ("example.com") . . . . . . . . . . .  10
     4.3.  The "Response IP Address" Trigger (.rpz-ip) . . . . . . .  10
     4.4.  The "NSDNAME" Trigger (.rpz-nsdname)  . . . . . . . . . .  11
     4.5.  The "NSIP" Trigger (.rpz-nsip)  . . . . . . . . . . . . .  12
   5.  Precedence Rules  . . . . . . . . . . . . . . . . . . . . . .  13
     5.1.  "CNAME or DNAME Chain Position" Precedence Rule . . . . .  14
     5.2.  "RPZ Ordering" Precedence Rule  . . . . . . . . . . . . .  14
     5.3.  "Domain Name Matching" Precedence Rule  . . . . . . . . .  14
     5.4.  "Trigger Type" Precedence Rule  . . . . . . . . . . . . .  15
     5.5.  "Name Order" Precedence Rule  . . . . . . . . . . . . . .  15
     5.6.  "Prefix Length" Precedence Rule . . . . . . . . . . . . .  16
     5.7.  "IP Address Order" Precedence Rule  . . . . . . . . . . .  16
   6.  Application of the Policy . . . . . . . . . . . . . . . . . .  17
     6.1.  Per-Zone Action Overrides . . . . . . . . . . . . . . . .  18
   7.  Producer Behavior . . . . . . . . . . . . . . . . . . . . . .  19
Show full document text