Internet-Draft | More EDEs | December 2024 |
Bortzmeyer | Expires 5 June 2025 | [Page] |
This document is the specification of three new EDE (Extended DNS Errors) codes, for minimal answers, local roots and tailoring based on the client IP address.¶
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 5 June 2025.¶
Copyright (c) 2024 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 Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
[RFC8914] created the EDE (Extended DNS Errors). Each error is identified by a code, and there is an IANA registry of these codes. This specification adds three codes:¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This response code, TBD, means that the response has been tailored on the basis of the IP address of the client. It can be from its actual IP address in the query (DNS-based load balancing), or because of ECS (EDNS Client Subnet, [RFC7871]). It MAY be sent by authoritative servers or resolvers, for instance when they implement ECS. Note that the fact that the server accepts ECS can also be seen in the EDNS part of the response, but it does not mean that ECS was actually used to tailor the answer. Also, this response code is more general than just ECS.¶
If a resolver receives this EDE from an authoritative server, it SHOULD copy it in the response sent to its client.¶
This response code, TBD, means that the response was deliberately minimal. It can be because the request was using the QTYPE ANY, as documented by [RFC8482]. Or it can be also for cases like "glue records not sent since I wanted to save bits". It MAY be sent by authoritative servers or resolvers.¶
This response code, TBD, means that the response comes from a local root, as documented in [RFC8806]. It MAY be sent by resolvers using a local root.¶
IANA is requested to allocate codes to these three EDE and to add them to the "Extended DNS Error Codes", with a reference to this document.¶
Note that the policy for the registry "Extended DNS Error Codes" is just "First come, first served" so this document is not strictly necessary.¶
The EDE are sent with EDNS and are not signed. They should be used with care (see [RFC8914], section 6).¶
Original idea by Marco Davids.¶