Network Working Group D. EastLake
Request for Comments: 2536 IBM
Category: Standards Track March 1999
DSA KEYs and SIGs in the Domain Name System (DNS)
1. Introduction
The Domain Name System (DNS) is the global hierarchical replicated distributed database system for Internet addressing, mail proxy, and other information. The DNS has been extended to include digital signatures and cryptographic keys as described in [RFC 2535]. Thus the DNS can now be secured and can be used for secure key distribution. This document describes how to store US Government Digital Signature Algorithm (DSA) keys and signatures in the DNS. Familiarity with the US Digital Signature Algorithm is assumed [Schneier]. Implementation of DSA is mandatory for DNS security.
Eastlake Standards Track [Page 1]
RFC 2536 DSA in the DNS March 1999 2. DSA KEY Resource RecordsDSA public keys are stored in the DNS as KEY RRs using algorithm number 3 [RFC 2535]. The structure of the algorithm specific portion of the RDATA part of this RR is as shown below. These fields, from Q through Y are the "public key" part of the DSA KEY RR.
Field Size
----- ----
T 1 octet
Q 20 octets P 64 + T*8 octets G 64 + T*8 octets Y 64 + T*8 octets
Eastlake Standards Track [Page 2]
RFC 2536 DSA in the DNS March 1999 3. DSA SIG Resource RecordsThe signature portion of the SIG RR RDATA area, when using the US Digital Signature Algorithm, is shown below with fields in the order they occur. See [RFC 2535] for fields in the SIG RR RDATA which precede the signature itself.
Field Size
----- ----
T 1 octet
R 20 octets S 20 octets
4. Performance Considerations
General signature generation speeds are roughly the same for RSA [RFC 2537] and DSA. With sufficient pre-computation, signature generation with DSA is faster than RSA. Key generation is also faster for DSA. However, signature verification is an order of magnitude slower than RSA when the RSA public exponent is chosen to be small as is recommended for KEY RRs used in domain name system (DNS) data authentication.
Eastlake Standards Track [Page 3]
RFC 2536 DSA in the DNS March 1999 5. Security ConsiderationsMany of the general security consideration in [RFC 2535] apply. Keys retrieved from the DNS should not be trusted unless (1) they have been securely obtained from a secure resolver or independently verified by the user and (2) this secure resolver and secure obtainment or independent verification conform to security policies acceptable to the user. As with all cryptographic algorithms, evaluating the necessary strength of the key is essential and dependent on local policy.
6. IANA Considerations
Allocation of meaning to values of the T parameter that are not defined herein requires an IETF standards actions. It is intended that values unallocated herein be used to cover future extensions of the DSS standard.
Eastlake Standards Track [Page 4]
RFC 2536 DSA in the DNS March 1999
References
Eastlake Standards Track [Page 5]
RFC 2536 DSA in the DNS March 1999
Full Copyright Statement