Network Working Group R. Austein
Internet-Draft ISC
Expires: January 15, 2005 19, 2006 July 17, 2004 18, 2005
EDNS NSID Extension
draft-austein-dnsext-nsid-01
draft-austein-dnsext-nsid-02
Status of this Memo
By submitting this Internet-Draft, I certify each author represents that any
applicable patent or other IPR claims of which I am he or she is aware
have been or will be disclosed, and any of which I become he or she becomes
aware will be disclosed, in accordance with
RFC 3668. Section 6 of BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that
other groups may also distribute working documents as Internet-Drafts. Internet-
Drafts.
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."
The list of current Internet-Drafts can be accessed at http://
www.ietf.org/ietf/1id-abstracts.txt.
http://www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html.
This Internet-Draft will expire on January 15, 2005. 19, 2006.
Copyright Notice
Copyright (C) The Internet Society (2004). All Rights Reserved. (2005).
Abstract
With the increased use of DNS anycast, load balancing, and other
mechanisms allowing more than one DNS name server to share a single
IP address, it is sometimes difficult to tell which of a pool of name
servers has answered a particular query. While existing ad-hoc
mechanism allow an operator to send follow-up queries when it is
necessary to debug such a configuration, the only completely reliable
way to obtain the identity of the name server which actually
responded is to have the name server include this information in the
response itself. This note proposes a protocol enhancement extension to support this functionality.
Austein Expires January 15, 2005 19, 2006 [Page 1]
Internet-Draft EDNS NSID Extension July 2004 2005
this functionality.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Proposed Mechanism . . . . . . . . . . . . . . . . . . . . . . 4
2.1 The SI Flag . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 The NSID Option . . . . . . . . . . . . . . . . . . . . . 4
3. Open Issues What Should the NSID Payload Be? . . . . . . . . . . . . . . . 5
4. Should Recursive Name Servers Respond to SI? . . . . . . . . . 8
5. IANA Considerations . . . 5
3.1 What Should the NSID Payload Be? . . . . . . . . . . . . . 5
3.2 Should Recursive Name Servers Respond to SI? . . . . . 9
6. Security Considerations . . 6
4. . . . . . . . . . . . . . . . . . 10
7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 8
5. 11
8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 9
5.1 12
8.1 Normative References . . . . . . . . . . . . . . . . . . . . 9
5.2 12
8.2 Informative References . . . . . . . . . . . . . . . . . . . 9 12
Author's Address . . . . . . . . . . . . . . . . . . . . . . . 9 12
Intellectual Property and Copyright Statements . . . . . . . . 10 13
Austein Expires January 15, 2005 19, 2006 [Page 2]
Internet-Draft EDNS NSID Extension July 2004 2005
1. Introduction
With the increased use of DNS anycast, load balancing, and other
mechanisms allowing more than one DNS name server to share a single
IP address, it is sometimes difficult to tell which of a pool of name
servers has answered a particular query.
Existing ad-hoc mechanisms such as those described in
[I-D.ietf-dnsop-serverid] [I-D.ietf-
dnsop-serverid] allow an operator to send follow-up queries when it
is necessary to debug such a configuration, but there are situations
in which this is not a totally satisfactory solution, since anycast
routing may have changed, or the server pool in question may be
behind some kind of extremely dynamic load balancing hardware. Thus,
while these ad-hoc mechanisms are certainly better than nothing (and
have the advantage of already being deployed), a better solution
seems desirable.
Given that a DNS query is an idempotent operation with no retained
state, it would appear that the only completely reliable way to
obtain the identity of the name server which actually responded to a
particular query is to have that name server include identifying
information in the response itself. This note proposes a protocol
enhancement to achieve this.
Austein Expires January 15, 2005 19, 2006 [Page 3]
Internet-Draft EDNS NSID Extension July 2004 2005
2. Proposed Mechanism
This note proposes using an EDNS [RFC2671] flag bit to signal the
resolver's desire for information identifying the name server, and an
EDNS option to hold the name server's response (should it chose choose to
honor the resolver's request).
2.1 The SI Flag
A resolver signals its desire for information identifying the server
by setting the SI (Send Identification) flag in the extended flags
field of the OPT pseudo-RR.
The value of the SI flag is [TBD].
The semantics of the SI flag are not transitive. That is: the SI
flag is a request that the name server which receives the query
identify itself; in a so-called forwarding setup, the first hop name
server is the one that should identify itself. If the resolver side
of a forwarding name server wishes to receive identifying
information, it is free to set the SI flag in its own queries, but
that is a separate matter.
A name server which understands the SI flag should echo its value
back in the response message, regardless of whether the name server
chose to honor the request.
2.2 The NSID Option
A name server which understands the SI flag and chooses to honor it
responds by including identifying information in a NSID option in an
EDNS OPT pseudo-RR in the response message.
The OPTION-CODE for the NSID option is [TBD].
The precise format OPTION-DATA for the NSID option is an opaque byte string the
semantics of which are deliberately left outside the identifying information protocol. See
Section 3 for discussion.
The NSID option is still not transitive. A name server must not send an open
issue at
NSID option back to a resolver which did not request it. In
particular, while a forwarder may choose to set the SI bit when
forwarding a query, this point, and is discussed further has no effect on the setting of the SI bit
or the presence or absence of the NSID option in Section 3.1. the forwarder's
response to the original client.
Austein Expires January 15, 2005 19, 2006 [Page 4]
Internet-Draft EDNS NSID Extension July 2004 2005
3. Open Issues
There are a couple of open issues in this proposal which would need
to be settled before it could be used. The author has opinions on
both of these and has stated those opinions below, but would
appreciate feedback from the community.
3.1 What Should the NSID Payload Be?
The syntax and semantics of the content of the NSID option is
deliberately left outside the scope of this specification. This
describe some of the kinds of data that server administrators might
choose to provide as the content of the NSID option, and explains the
reasoning (such as it is) behind choosing a simple opaque byte
string.
There are several options possibilities for the payload of the NSID option.
o It could be the "real" name of the specific name server within the
name server pool.
o It could be the "real" IP address (IPv4 or IPv6) of the name
server within the name server pool.
o It could be some sort of hash of pseudo-random number generated in a
predictable fashion somehow using the DNS name or server's IP address,
perhaps including some kind of nonce.
o address or name
as a seed value.
o It could be some sort of probabilisticly unique identifier
initially derived from some sort of random number generator then
preserved across reboots of the name server.
o It could be some sort of dynamicly generated identifier so that
only the name server operator could even tell whether or not any
two queries had been answered by the same server.
o It could be a blob of signed data, with a corresponding key which
might (or might not) be available via DNS lookups.
o It could be a blob of encrypted data, the key for which presumably
would be restricted to parties with a need to know (in the opinion
of the server operator).
o It could be an arbitrary string of octets chosen at the discretion
of the name server operator.
Each of these options has advantages and disadvantages.
o Using the "real" name is simple, but assumes that the name server
has a "real" name, which it may not.
o Using the "real" address is also simple, and the name server
almost certainly does have at least one non-anycast IP address for
maintenance operations, but assumes that the operator of the name
server is willing to divulge its non-anycast address, which might
Austein Expires January 19, 2006 [Page 5]
Internet-Draft EDNS NSID Extension July 2005
not be the case.
o Given that one common reason for using anycast DNS techniques is
an attempt to harden a critical name server against denial of
service attacks, some name server operators are likely to want an
identifier other than the "real" name or "real" address of the
name server instance.
o Using a hash (with or without a nonce) provides pseudo-random number can provide a fixed length
value that the resolver can use to tell two name servers apart
without necessarily being able to tell where either one of them
"really" is, but makes debugging more difficult if one happens to
be in a friendly open environment. Furthermore, a nonce may not
add much value, since a hash based on an IPv4 address still only
involves a 32-bit search space, and DNS names used for servers
that operators might have to debug at 4am tend not to be very
random at all.
o Probabilisticly unique identifiers have similar properties to
hashed identifiers, but (given a sufficiently good random number
generator) are immune to the search space issues. However, the
strength of this approach is also its weakness: there is no
algorithmic transformation by which even the server operator can
associate name server instances with identifiers while debugging,
which might be annoying. This approach also requires the name
server instance to preserve the probabilisticly unique identifier
across reboots, but this does not appear to be a serious
Austein Expires January 15, 2005 [Page 5]
Internet-Draft EDNS NSID Extension July 2004
restriction, since authoritative nameservers almost always have
nonvolatile storage (such as a disk drive) in any case, and in
rare cases where an authoritative a name server does not have any way to store such
an identifier, nothing terrible will happen if the name server
just generates a new identifier every time it reboots.
o Using an arbitrary octet string means that at least half of gives name server operators yet
another thing to configure, or mis-configure, or forget to
configure. Having all the nodes in an anycast name servers that support this option will probably end up
identifying server
constellation identify themselves as "My Name Server", which is Server" would not be
particularly useful.
Given that one common reason for using anycast DNS techniques is an
attempt to harden a critical name server against denial of service
attacks, the author believes that at least some name server operators
are likely to want an identifier other than the "real" name or "real"
address of the name server instance. Given all of the issues listed above, the best approach might be a combination of several of the
above approaches. Tentative proposal: be:
o Define the NSID payload to be an opaque byte string. string, as specified
in Section 2.2.
o Operators for whom divulging the unicast address is an issue could
use the raw binary representation of a probabilisticly unique
random number. This should probably be the default implementation
behavior.
Austein Expires January 19, 2006 [Page 6]
Internet-Draft EDNS NSID Extension July 2005
o Operators for whom divulging the unicast address is not an issue
could just use the raw binary representation of a unicast address
for simplicity. This would only be done via an explicit
configuration choice by the operator.
o Operators who really need or want the ability to set the NSID
payload to an arbitrary value could do so, but this would only be
done via an explicit configuration choice by the operator.
This approach appears to provide enough information for useful
debugging without unintentionally leaking the maintenance addresses
of anycast name servers to nogoodniks, while also allowing name
server operators who do not find such leakage threatening to provide
more information at their own discretion.
This proposal begs the question of whether the
Austein Expires January 19, 2006 [Page 7]
Internet-Draft EDNS NSID payload would
also need to include a type octet indicating which of these three
options the name server operator had chosen: the author suspects that
such an octet would not be necessary, but this is another subject on
which the author would welcome feedback.
3.2 Extension July 2005
4. Should Recursive Name Servers Respond to SI?
Most of the discussion of name server identification to date has
focused on identifying authoritative name servers, since the best
known cases of anycast name servers are a subset of the name servers
Austein Expires January 15, 2005 [Page 6]
Internet-Draft EDNS NSID Extension July 2004
for the root zone. However, given that anycast DNS techniques are
equally applicable to recursive name servers as well as authoritative
name servers, it may be useful for the name server side of a
recursive name server to support this mechanism as well. The
semantics proposed for the SI bit in Section 2.1 are intended to
support this model.
Austein Expires January 15, 19, 2006 [Page 8]
Internet-Draft EDNS NSID Extension July 2005
5. IANA Considerations
This mechanism requires allocation of one EDNS flag bit for the SI
flag (Section 2.1).
This mechanism requires allocation of one ENDS option code for the
NSID option (Section 2.2).
Austein Expires January 19, 2006 [Page 7] 9]
Internet-Draft EDNS NSID Extension July 2004
4. 2005
6. Security Considerations
This document describes a channel signaling mechanism, intended
primarily for debugging. Channel signaling mechanisms are outside
the scope of DNSSEC per se. Thus, applications that require
integrity protection for the data being signaled will need to use a
channel security mechanism such as TSIG [RFC2845].
Section 3 discusses a number of different kinds of information that a
name server operator might choose to provide as the value of the NSID
option. Some of these kinds of information are security sensitive in
some environments. This specification deliberately leaves the syntax
and semantics of the NSID option content up to the implementation and
the name server operator.
Austein Expires January 19, 2006 [Page 10]
Internet-Draft EDNS NSID Extension July 2005
7. Acknowledgements
Joe Abley, Harald Alvestrand, Roy Arends, Steve Bellovin, Randy Bush,
David Conrad, Johan Ihren, Mike Patton, Paul Vixie, Sam Weiler,
Suzanne Woolf, and the law firm of Dewey, Chetham, and Howe.
Austein Expires January 15, 2005 19, 2006 [Page 8] 11]
Internet-Draft EDNS NSID Extension July 2004
5. 2005
8. References
5.1
8.1 Normative References
[RFC2671] Vixie, P., "Extension Mechanisms for DNS (EDNS0)",
RFC 2671, August 1999.
5.2
[RFC2845] Vixie, P., Gudmundsson, O., Eastlake, D., and B.
Wellington, "Secret Key Transaction Authentication for DNS
(TSIG)", RFC 2845, May 2000.
8.2 Informative References
[I-D.ietf-dnsop-serverid]
Conrad, D., "Identifying an Authoritative Name Server",
draft-ietf-dnsop-serverid-01
draft-ietf-dnsop-serverid-04 (work in progress), November
2002.
March 2005.
Author's Address
Rob Austein
ISC
950 Charter Street
Redwood City, CA 94063
USA
EMail:
Email: sra@isc.org
Austein Expires January 15, 2005 19, 2006 [Page 9] 12]
Internet-Draft EDNS NSID Extension July 2004 2005
Intellectual Property Statement
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the IETF's procedures with respect to rights in IETF Documents RFC documents can be
found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Disclaimer of Validity
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Copyright Statement
Copyright (C) The Internet Society (2004). (2005). This document is subject
to the rights, licenses and restrictions contained in BCP 78, and
except as set forth therein, the authors retain all their rights.
Acknowledgment
Funding for the RFC Editor function is currently provided by the
Internet Society.
Austein Expires January 15, 2005 19, 2006 [Page 10] 13]