Request for Comments: 7314 Category: Experimental July 2014 ISSN: Extension Mechanisms for DNS (EDNS) EXPIRE Option.

Similar documents
Internet Engineering Task Force (IETF) Request for Comments: Category: Best Current Practice ISSN: March 2017

Internet Engineering Task Force (IETF) Request for Comments: Category: Standards Track. Cisco May 2012

Internet Engineering Task Force (IETF) Updates: 5451 March 2012 Category: Standards Track ISSN:

Network Working Group. Category: Standards Track December 2001

Internet Engineering Task Force (IETF) Request for Comments: E. Hunt ISC January 2019

Updates: 6126 May 2015 Category: Experimental ISSN: Extension Mechanism for the Babel Routing Protocol

Internet Engineering Task Force (IETF) Request for Comments: 7706 Category: Informational ISSN: November 2015

Applicability Statement: DNS Security (DNSSEC) DNSKEY Algorithm Implementation Status

Internet Engineering Task Force (IETF) Request for Comments: 5966 Updates: 1035, 1123 August 2010 Category: Standards Track ISSN:

Internet-Draft Intended status: Experimental March 28, 2014 Expires: September 29, 2014

Internet Engineering Task Force (IETF) Request for Comments: Category: Standards Track May 2011 ISSN:

Internet Engineering Task Force (IETF) Category: Informational. May IEEE Information Element for the IETF

Internet Engineering Task Force (IETF) Updates: 1183 April 2010 Category: Standards Track ISSN:

Category: Informational January 2010 ISSN:

Internet Engineering Task Force (IETF) Obsoletes: 2671, 2673 Category: Standards Track. April 2013

Internet Engineering Task Force (IETF) Request for Comments: Category: Standards Track. July 2014

Internet Engineering Task Force. Intended Status: Informational. Additional Reserved Top Level Domains draft-chapin-additional-reserved-tlds-00

Internet Engineering Task Force (IETF) Request for Comments: Category: Experimental February 2014 ISSN:

Internet Engineering Task Force (IETF) Category: Informational March 2016 ISSN:

Moving the Undeployed TCP Extensions RFC 1072, RFC 1106, RFC 1110, RFC 1145, RFC 1146, RFC 1379, RFC 1644, and RFC 1693 to Historic Status.

Internet Engineering Task Force (IETF) Request for Comments: J. Haas Juniper Networks March 2019

Internet Engineering Task Force (IETF) Updates: 4326 June 2014 Category: Standards Track ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 7319 BCP: 191 July 2014 Category: Best Current Practice ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 7043 Category: Informational October 2013 ISSN:

Internet Research Task Force (IRTF) Request for Comments: 6255 Category: Informational May 2011 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 6594 Category: Standards Track April 2012 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 7809 Updates: 4791 March 2016 Category: Standards Track ISSN:

Category: Standards Track Cisco Systems D. Tappan Consultant October 2009

Request for Comments: 5402 Category: Informational February 2010 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: ISSN: October 2011

Internet Engineering Task Force (IETF) Category: Standards Track. March 2017

Internet Engineering Task Force (IETF) Request for Comments: 8142 Category: Standards Track April 2017 ISSN:

Internet Engineering Task Force (IETF) April Elliptic Curve Digital Signature Algorithm (DSA) for DNSSEC

Internet Engineering Task Force (IETF) Category: Standards Track March 2011 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 7725 Category: Standards Track February 2016 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 8297 Category: Experimental December 2017 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 8035 Updates: 5761 November 2016 Category: Standards Track ISSN:

Internet Engineering Task Force (IETF) Category: Standards Track March 2015 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 7189 Category: Standards Track March 2014 ISSN:

Category: Experimental March 2010 ISSN: Lightweight Directory Access Protocol (LDAP) Transactions

Internet Engineering Task Force (IETF) Updates: 2474 August 2018 Category: Standards Track ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 6379 Obsoletes: 4869 Category: Informational October 2011 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: ISSN: November 2013

Internet Engineering Task Force (IETF) Request for Comments: August 2011

Request for Comments: 8112 Category: Informational. I. Kouvelas Arista D. Lewis Cisco Systems May 2017

Internet Engineering Task Force (IETF) Request for Comments: Category: Standards Track ISSN: July 2014

Internet Engineering Task Force (IETF) Updates: 5614 October 2013 Category: Experimental ISSN:

Internet Engineering Task Force (IETF) Category: Standards Track April 2011 ISSN:

Network Working Group Request for Comments: 2671 Category: Standards Track August 1999

Internet Engineering Task Force (IETF) Category: Standards Track. Enterprise Architects February 2012

Internet Engineering Task Force (IETF) Category: Informational. Juniper Networks May 2017

Request for Comments: 8367 Category: Informational ISSN: April Wrongful Termination of Internet Protocol (IP) Packets

Internet Engineering Task Force (IETF) Category: Standards Track ISSN: January 2011

Internet Engineering Task Force (IETF) Request for Comments: 8440 Category: Standards Track ISSN: August 2018

Internet Engineering Task Force (IETF) Request for Comments: 7213 Category: Standards Track. M. Bocci Alcatel-Lucent June 2014

Internet Engineering Task Force (IETF) Request for Comments: November 2010

Internet Engineering Task Force (IETF) Request for Comments: ISC S. Krishnan Ericsson I. Farrer Deutsche Telekom AG August 2014

Request for Comments: 8479 Category: Informational September 2018 ISSN:

DHCPv6 Option for IPv4-Embedded Multicast and Unicast IPv6 Prefixes

Internet Engineering Task Force (IETF) Request for Comments: 6160 Category: Standards Track April 2011 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 6440 Category: Standards Track. Huawei December 2011

Internet Engineering Task Force (IETF) Category: Standards Track ISSN: July 2012

Internet Engineering Task Force (IETF) Request for Comments: 6441 BCP: 171 November 2011 Category: Best Current Practice ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 7881 Category: Standards Track. Big Switch Networks July 2016

Internet Engineering Task Force (IETF) Request for Comments: 8050 Category: Standards Track ISSN: May 2017

Request for Comments: ISSN: November extensible Access Control Markup Language (XACML) XML Media Type

Internet Engineering Task Force (IETF) Request for Comments: ISSN: July 2014

Internet Engineering Task Force (IETF) Request for Comments: Category: Standards Track ISSN: September 2015

Independent Submission Request for Comments: 6919 Category: Experimental. RTFM, Inc. 1 April 2013

Internet Engineering Task Force (IETF) Category: Standards Track April 2013 ISSN: Formally Deprecating Some ICMPv4 Message Types

Internet Engineering Task Force (IETF) Request for Comments: 7125 Category: Informational. February 2014

Internet Engineering Task Force (IETF) Category: Informational. August IANA Registration for the Cryptographic Algorithm Object Identifier Range

Internet Engineering Task Force (IETF) Cisco Systems, Inc. April 2015

Request for Comments: 7259 Category: Informational May 2014 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 7192 Category: Standards Track April 2014 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: November 2015

Request for Comments: 5498 Category: Standards Track March IANA Allocations for Mobile Ad Hoc Network (MANET) Protocols

Network Working Group Request for Comments: 5509 Category: Standards Track April 2009

Internet Engineering Task Force (IETF) Category: Standards Track ISSN: January Neighbor Unreachability Detection Is Too Impatient

Internet Engineering Task Force (IETF) June Network Time Protocol (NTP) Server Option for DHCPv6

Internet Engineering Task Force (IETF) Request for Comments: 6028 Category: Experimental ISSN: October 2010

Internet Engineering Task Force (IETF) Request for Comments: Category: Informational. R. White. D. McPherson Verisign, Inc.

Internet Engineering Task Force (IETF) Updates: 6376 January 2018 Category: Standards Track ISSN:

Network Working Group Request for Comments: Category: Best Current Practice October 2008

Internet Engineering Task Force (IETF) Request for Comments: 6522 STD: 73 January 2012 Obsoletes: 3462 Category: Standards Track ISSN:

Internet Engineering Task Force (IETF) October This document establishes an IETF URN Sub-namespace for use with OAuth-related specifications.

Internet Engineering Task Force (IETF) Request for Comments: 7504 June 2015 Updates: 1846, 5321 Category: Standards Track ISSN:

July Incremental Zone Transfer in DNS. Status of this Memo

Internet Engineering Task Force (IETF) Request for Comments: 6807 Category: Experimental. Y. Cai Microsoft December 2012

Internet Engineering Task Force (IETF) Request for Comments: ISSN: March 2016

Request for Comments: ISSN: S. Cantor Shibboleth Consortium August 2018

Internet Engineering Task Force (IETF) Request for Comments: ISSN: July 2011

Internet Engineering Task Force (IETF) Request for Comments: ISSN: March 2018

Internet Engineering Task Force (IETF) Request for Comments: Category: Standards Track October 2018 ISSN:

Internet Engineering Task Force (IETF) May 2011

Internet Engineering Task Force (IETF) Request for Comments: Category: Standards Track. Juniper July 2017

Internet Engineering Task Force (IETF) Request for Comments: ISSN: August 2010

Internet Engineering Task Force (IETF) Request for Comments: 6725 Category: Standards Track August 2012 ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 8437 Updates: 3501 August 2018 Category: Standards Track ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 7660 Category: Standards Track. October 2015

Transcription:

Independent Submission M. Andrews Request for Comments: 7314 ISC Category: Experimental July 2014 ISSN: 2070-1721 Abstract Extension Mechanisms for DNS (EDNS) EXPIRE Option This document specifies a method for secondary DNS servers to honour the SOA EXPIRE field as if they were always transferring from the primary, even when using other secondaries to perform indirect transfers and refresh queries. Status of This Memo This document is not an Internet Standards Track specification; it is published for examination, experimental implementation, and evaluation. This document defines an Experimental Protocol for the Internet community. This is a contribution to the RFC Series, independently of any other RFC stream. The RFC Editor has chosen to publish this document at its discretion and makes no statement about its value for implementation or deployment. Documents approved for publication by the RFC Editor are not a candidate for any level of Internet Standard; see Section 2 of RFC 5741. Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc7314. Copyright Notice Copyright (c) 2014 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. Andrews Experimental [Page 1]

Table of Contents 1. Introduction........................ 2 1.1. Reserved Words..................... 2 2. Expire EDNS Option (Query)................. 3 3. Expire EDNS Option (Response)................ 3 3.1. Primary Server..................... 3 3.2. Secondary Server.................... 3 3.3. Non-authoritative Server................ 3 4. Secondary Behaviour..................... 3 5. IANA Considerations..................... 4 6. Security Considerations................... 4 7. Normative References.................... 4 1. Introduction The expire field of a DNS zone s SOA record [RFC1035] is supposed to indicate when a secondary server shall discard the contents of the zone when it has been unable to contact the primary [RFC1034]. Current practice only works when all the secondaries contact the primary directly to perform refresh queries and zone transfers. While secondaries are expected to be able to, and often are configured to, transfer from other secondaries for robustness reasons as well as reachability constraints, there is no mechanism provided to preserve the expiry behaviour when using a secondary. Instead, secondaries have to know whether they are talking directly to the primary or another secondary and use that to decide whether or not to update the expire timer. This, however, fails to take into account delays in transferring from one secondary to another. There are also zone-transfer graphs in which the secondary never talks to the primary, so the effective expiry period becomes multiplied by the length of the zone-transfer graph, which is infinite when it contains loops. This document provides a mechanism to preserve the expiry behaviour regardless of what zone-transfer graph is constructed and whether the secondary is talking to the primary or another secondary. 1.1. Reserved Words 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]. Andrews Experimental [Page 2]

2. Expire EDNS Option (Query) The EDNS [RFC6891] EXPIRE option has the value <9>. The EDNS EXPIRE option MAY be included on any QUERY, though usually this is only done on SOA, AXFR, and IXFR queries involved in zone maintenance. This is done by adding a zero-length EDNS EXPIRE option to the options field of the OPT record when the query is made. 3. Expire EDNS Option (Response) 3.1. Primary Server When the query is directed to the primary server for the zone, the response will be an EDNS EXPIRE option of length 4 containing the value of the SOA EXPIRE field, in seconds and network byte order. 3.2. Secondary Server When the query is directed to a secondary server for the zone, then the response will be an EDNS EXPIRE option of length 4 containing the value of the expire timer on that server, in seconds and network byte order. 3.3. Non-authoritative Server If an EDNS EXPIRE option is sent to a server that is not authoritative for the zone, it MUST NOT add an EDNS EXPIRE option to the response. 4. Secondary Behaviour When a secondary server performs a zone-transfer request or a zonerefresh query, it SHALL add an EDNS EXPIRE option to the query message. If a secondary receives an EDNS EXPIRE option in a response to an SOA query, it SHALL update its expire timer to be the maximum of the value returned in the EDNS EXPIRE option and the current timer value. Similarly, if a secondary receives an EDNS EXPIRE option in its response to an IXFR query that indicated the secondary is up to date (serial matches current serial), the secondary SHALL update the expire timer to be the maximum of the value returned in the EDNS EXPIRE option and the current timer value. If the zone is transferred or updated as the result of an AXFR or IXFR query and there is an EDNS EXPIRE option with the response, then the value of the EDNS EXPIRE option SHOULD be used instead of the value of the SOA EXPIRE field to initialise the expire timer. Andrews Experimental [Page 3]

In all cases, if the value of the SOA EXPIRE field is less than the value of the EDNS EXPIRE option, then the value of the SOA EXPIRE field MUST be used and MUST be treated as a maximum when updating or initialising the expire timer. 5. IANA Considerations IANA has assigned an EDNS option code point for the EDNS EXPIRE option specified in Section 2 with "Optional" status in the "DNS EDNS0 Option Codes (OPT)" registry. 6. Security Considerations The method described in this document ensures that servers that no longer have a connection to the primary server, direct or indirectly, cease serving the zone content when SOA EXPIRE timer is reached. This prevents stale data from being served indefinitely. The EDNS EXPIRE option exposes how long the secondaries have been out of communication with the primary server. This is not believed to be a problem and may provide some benefit to monitoring systems. 7. Normative References [RFC1034] Mockapetris, P., "Domain names - concepts and facilities", STD 13, RFC 1034, November 1987. [RFC1035] Mockapetris, P., "Domain names - implementation and specification", STD 13, RFC 1035, November 1987. [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC6891] Damas, J., Graff, M., and P. Vixie, "Extension Mechanisms for DNS (EDNS(0))", STD 75, RFC 6891, April 2013. Author s Address Mark P. Andrews Internet Systems Consortium 950 Charter Street Redwood City, CA 94063 US EMail: marka@isc.org Andrews Experimental [Page 4]