[要約] RFC 7314は、DNSの拡張メカニズムであるEDNSのEXPIREオプションに関するものであり、DNSキャッシュの有効期限を設定するための機能を提供する。目的は、キャッシュの効率的な管理と、古い情報の使用を防ぐことで、DNSのパフォーマンスと信頼性を向上させることである。

Independent Submission                                        M. Andrews
Request for Comments: 7314                                           ISC
Category: Experimental                                         July 2014
ISSN: 2070-1721
        

Extension Mechanisms for DNS (EDNS) EXPIRE Option

DNS(EDNS)EXPIREオプションの拡張メカニズム

Abstract

概要

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.

このドキュメントでは、他のセカンダリを使用して間接転送を実行し、クエリを更新する場合でも、セカンダリDNSサーバーがSOA EXPIREフィールドを常にプライマリから転送しているかのように処理する方法を指定します。

Status of This Memo

本文書の状態

This document is not an Internet Standards Track specification; it is published for examination, experimental implementation, and evaluation.

このドキュメントはInternet Standards Trackの仕様ではありません。試験、実験、評価のために公開されています。

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.

このドキュメントでは、インターネットコミュニティの実験プロトコルを定義します。これは、他のRFCストリームとは無関係に、RFCシリーズへの貢献です。 RFCエディターは、このドキュメントを独自の裁量で公開することを選択し、実装または展開に対するその価値については何も述べていません。 RFC Editorによって公開が承認されたドキュメントは、どのレベルのインターネット標準の候補にもなりません。 RFC 5741のセクション2をご覧ください。

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.

このドキュメントの現在のステータス、エラータ、およびフィードバックの提供方法に関する情報は、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.

Copyright(c)2014 IETF Trustおよびドキュメントの作成者として識別された人物。全著作権所有。

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.

この文書は、BCP 78およびIETF文書に関するIETFトラストの法的規定(http://trustee.ietf.org/license-info)の対象であり、この文書の発行日に有効です。これらのドキュメントは、このドキュメントに関するあなたの権利と制限を説明しているため、注意深く確認してください。

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
1. はじめに

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.

DNSゾーンのSOAレコード[RFC1035]のexpireフィールドは、プライマリ[RFC1034]にアクセスできなかったときに、セカンダリサーバーがゾーンの内容を破棄する時期を示すことになっています。現在の方法は、すべてのセカンダリがプライマリに直接接続して、更新クエリとゾーン転送を実行する場合にのみ機能します。

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.

セカンダリは、堅牢性の理由と到達可能性の制約のために他のセカンダリから転送できることが期待されており、多くの場合は設定されていますが、セカンダリを使用するときに有効期限の動作を維持するメカニズムは提供されていません。代わりに、セカンダリはプライマリまたは別のセカンダリと直接通信しているかどうかを認識し、それを使用して有効期限タイマーを更新するかどうかを決定する必要があります。ただし、これは1つのセカンダリから別のセカンダリへの転送の遅延を考慮に入れていません。

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
1.1. 予約語

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].

このドキュメントのキーワード「MUST」、「MUST NOT」、「REQUIRED」、「SHALL」、「SHALL NOT」、「SHOULD」、「SHOULD NOT」、「RECOMMENDED」、「MAY」、および「OPTIONAL」は、 [RFC2119]で説明されているように解釈されます。

2. Expire EDNS Option (Query)
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.

EDNS [RFC6891] EXPIREオプションの値は<9>です。 EDNS EXPIREオプションは、すべてのクエリに含めることができますが、通常、これはゾーンメンテナンスに関連するSOA、AXFR、およびIXFRクエリでのみ行われます。これは、クエリが作成されたときに、長さ0のEDNS EXPIREオプションをOPTレコードのオプションフィールドに追加することで行われます。

3. Expire EDNS Option (Response)
3. EDNSオプションの期限切れ(応答)
3.1. Primary Server
3.1. プライマリサーバー

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.

クエリがゾーンのプライマリサーバーに送信される場合、応答は、SOA EXPIREフィールドの値(秒およびネットワークバイト順)を含む長さ4のEDNS EXPIREオプションになります。

3.2. Secondary Server
3.2. セカンダリサーバー

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.

クエリがゾーンのセカンダリサーバーに送信される場合、応答は、そのサーバーの有効期限タイマーの値(秒およびネットワークバイト順)を含む長さ4のEDNS EXPIREオプションになります。

3.3. Non-authoritative Server
3.3. 権限のないサーバー

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.

EDNS EXPIREオプションがゾーンに対して権限のないサーバーに送信される場合、EDNS EXPIREオプションを応答に追加してはなりません(MUST NOT)。

4. Secondary Behaviour
4. 二次的行動

When a secondary server performs a zone-transfer request or a zone-refresh query, it SHALL add an EDNS EXPIRE option to the query message.

セカンダリサーバーがゾーン転送要求またはゾーン更新クエリを実行する場合、クエリメッセージにEDNS EXPIREオプションを追加する必要があります(SHALL)。

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.

セカンダリがSOAクエリへの応答でEDNS EXPIREオプションを受信した場合、セカンダリは、期限切れタイマーをEDNS EXPIREオプションで返された値と現在のタイマー値の最大値に更新する必要があります(SHALL)。同様に、セカンダリが最新である(シリアルが現在のシリアルと一致する)ことを示すIXFRクエリへの応答でセカンダリがEDNS EXPIREオプションを受信した場合、セカンダリは期限切れタイマーをEDNSで返される値の最大値に更新する必要があります(SHALL)。 EXPIREオプションと現在のタイマー値。

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.

ゾーンがAXFRまたはIXFRクエリの結果として転送または更新され、応答にEDNS EXPIREオプションがある場合、SOA EXPIREフィールドの値の代わりにEDNS EXPIREオプションの値を使用して、期限切れタイマー。

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.

すべての場合において、SOA EXPIREフィールドの値がEDNS EXPIREオプションの値よりも小さい場合、SOA EXPIREフィールドの値を使用する必要があり、有効期限タイマーを更新または初期化するときに最大値として扱う必要があります。

5. IANA Considerations
5. IANAに関する考慮事項

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.

IANAは、「DNS EDNS0オプションコード(OPT)」レジストリの「オプション」ステータスで、セクション2で指定されたEDNS EXPIREオプションにEDNSオプションコードポイントを割り当てました。

6. Security Considerations
6. セキュリティに関する考慮事項

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.

このドキュメントで説明する方法により、SOA EXPIREタイマーに達したときに、直接または間接的にプライマリサーバーに接続していないサーバーがゾーンコンテンツの提供を停止することが保証されます。これにより、古いデータが無期限に提供されるのを防ぎます。

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.

EDNS EXPIREオプションは、セカンダリがプライマリサーバーと通信できなくなった時間を公開します。これは問題とは考えられておらず、監視システムにいくつかの利点をもたらす可能性があります。

7. Normative References
7. 引用文献

[RFC1034] Mockapetris, P., "Domain names - concepts and facilities", STD 13, RFC 1034, November 1987.

[RFC1034] Mockapetris、P。、「ドメイン名-概念と機能」、STD 13、RFC 1034、1987年11月。

[RFC1035] Mockapetris, P., "Domain names - implementation and specification", STD 13, RFC 1035, November 1987.

[RFC1035] Mockapetris、P。、「ドメイン名-実装と仕様」、STD 13、RFC 1035、1987年11月。

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[RFC2119] Bradner、S。、「要件レベルを示すためにRFCで使用するキーワード」、BCP 14、RFC 2119、1997年3月。

[RFC6891] Damas, J., Graff, M., and P. Vixie, "Extension Mechanisms for DNS (EDNS(0))", STD 75, RFC 6891, April 2013.

[RFC6891] Damas、J.、Graff、M。、およびP. Vixie、「DNSの拡張メカニズム(EDNS(0))」、STD 75、RFC 6891、2013年4月。

Author's Address

著者のアドレス

Mark P. Andrews Internet Systems Consortium 950 Charter Street Redwood City, CA 94063 US

マークP.アンドリュースインターネットシステムコンソーシアム950 Charter Street Redwood City、CA 94063 US

   EMail: marka@isc.org