📄 rfc756.txt
字号:
RFC: 756 July 1979 The NIC Name Server--A Datagram Based Information Utility by John R. Pickens, Elizabeth J. Feinler, and James E. Mathis July 1979 SRI International Telecommunications Sciences Center 333 Ravenswood Menlo Park, California 94025(Also published in Proceedings of the Fourth Berkeley Conferenceon Distributed Data Management and Computer Networks) NIC Name Server July 1979 Abstract In this paper a new method for distributing and updating hostname/address information in large computer networks is described.The technique uses datagrams to provide a simpletransaction-based query/response service. A provisional serviceis being provided by the Arpanet Network Information Center (NIC)and is used by mobile packet radio terminals, as well as byseveral Arpanet DEC-10 hosts. Extensions to the service aresuggested that would expand the query functionality to allow moreflexible query formats as well as queries for service addresses.Several architectural approaches with potential for expansioninto a distributed internet environment are proposed. Thistechnique may be utilized in support of other distributedapplications such as user identification and group distributionfor computer based mail.1. INTRODUCTION In large computer networks, such as the Arpanet [1],network-wide standard host-addressing information must bemaintained and distributed. To fulfill that need, the ArpanetNetwork Information Center (NIC) at SRI International hasmaintained, administered, and distributed the host addressingdata base to Arpanet hosts since 1972 [2]. The most common method for maintaining an up-to-date copy oneach host is to bulk-transfer the entire data base to each hostindividually. This technique satisfies most host addressingneeds on the Arpanet today. However, some hosts maintain neithera complete nor a current copy of the data base because of limitedmemory capacity and infrequent processing of updates. Inaddition, with the expansion of the Arpanet into the internetenvironment [3, 4], a strong need has arisen for new techniquesto augment the distribution of name/address information. One method currently being investigated is the dynamicdistribution of host-address information via a transaction-based,inquiry-response process called the Name Server [5, 6]. Tosupport this investigation, the NIC has developed a provisionalName Server that is compatible with a level of service specifiedin the Defense Advanced Research Projects Agency (DARPA) Internetexperiment [5]. The basic Name Server is described in this paperand a set of additional functions that such a service might beexpected to support is proposed. The discussion is structured as follows: Section 1 describesthe NIC Name Server and how it is derived from the NIC data baseservice. Section 2 describes extensions of the name server whichallow a richer syntax and queries for service addresses. SectionSRI International [Page 1]July 1979 NIC Name Server3 discusses architectural issues, and presents some preliminarythoughts on how to evolve from the current centralized,hierarchic service to a distributed Name Server service.2. THE NIC NAME SERVER A Name Server service has been installed on SRI-KA, an ArpanetDEC-10. Inquiry-response access is via the Internet Name Serverprotocol [5], which in turn employs the DARPA Internet Protocol,IP4 [7]. To demonstrate the service a simple interactive facility isprovided to format user input into name server requests--e.g. aquery of the form !ARPANET!FOO-TENEX returns an address such as"10 2 0 9" (NET=10, HOST=2, LOGICALHOST=0, IMP=9; for details ofhost address formats see [8]). User access to the name server has been implemented on severalArpanet DEC-10 TENEX and Packet Radio Network LSI-11 TerminalInterface Unit (TIU) hosts [9, 10]. While the TENEX programserves primarily as a demonstration vehicle, the LSI-11 programprovides a valuable augmentation of the TIU's host table. Atypical scenario is that when the packet radio TIU is initiatedor initialized, it contains only a minimal host table, with theaddresses of a few candidate name servers. The user queries thename server with a simple manual query process, and then uses theaddress obtained to open a TELNET connection to the desired host. The information to support the name server originates from theNIC's Arpanet host address data base. An optimized version ofthis data base is presented to the name server upon programinitiation as an input file.3. NAME SERVER ISSUES The basic name server provides a simple address-binding service[5]. In response to a datagram query [7, 11], the name serverreturns either an address, a list of similar names if a uniquematch is not found, or an error indication. Several usefuladditional functions can be envisioned for the name server suchas service queries and broader access to host-relatedinformation.3.1. Similar Names An important issue to be resolved is that of the interpretationgiven to the "similar names" response. A standard definitionshould be given and not be left to implementors' whims.[Page 2] SRI InternationalNIC Name Server July 1979 If the "similar names" response is used primarily to providehelpful information to a human-interface process, then it may beuseful to model the behavior of the name server on the behaviorof other known processes that present host name information ondemand. An example of this is a common implementation of virtualterminal access on the Arpanet, User TELNET [12], in which threedifferent functions occur: 1. Upon termination of host name input (e.g. <CR>), the user is warned only with an audible alarm if the name used is not unique. If the name is unique, the name is completed, and the requested operation is initiated. 2. In response to <ESC>, either the name will be completed if unique or the user will be warned with an audible alarm if the name is not unique. 3. Only in response to "?" will a list of similar names be printed. "Similar names", in this case, means all names that begin with the same character string. The list is alphabetized. In support of this style of user interface, it may beappropriate to return the "similar names" response only whenrequested. Two ways to achieve this might be either to set anoption bit or to use "?" to force the similar names response.3.2. Query Syntax A second issue in the provision of name server service is thatof query syntax. The basic level of service previously describedallows only a few query functions. With more intelligent nameservers, complex queries can be supported. The current Internet name server requires two fields in thequery string--a network name field and a host name field. If thenetwork field is non-existent, a local network query is assumed. Since network independent queries are desirable, an expandedquery functionality must be specified. One way this might bedone is to add to the notion of "missing field", which means"local", the notion of a special character like "*", which means"all". The semantic range of queries afforded by adopting thisconvention is listed below (Note: ~ is used to mean "null". Ifboth network and host fields are null the representation is "~~". "N" means "network" and "H" means "host"):SRI International [Page 3]July 1979 NIC Name Server~ ~ local net, local host (validity check?)~ * local net, all hosts~ H local net, named host* ~ all nets, local host (inverse search)* * all nets, all hosts (probably prohibited)* H all nets, named hostN ~ named net, local host (inverse search)N * named net, all hostsN H named net, named host By combining the on-demand similar-names function, "all" and"local", and by allowing "*" to be prefixed or appended to thequery string as a wild card character, one can query as follows:~ SRI*? All hosts named SRI* on local net* SRI*? All hosts named SRI* on all nets* *UNIX*? All hosts named *UNIX* on all nets3.3. Service Queries It has been suggested that the name server be generalized intoa binding function [13, 14]. In this context, allowing servicequeries is a very useful extension. One application of thisservice, that exists within the Packet Radio Project at SRI, isthe need to find the addresses of Hosts that support theLoaderServer service--a service that allows packet radio TIUs toreceive executable programs via downline loading. Service querying, unlike host names querying, requires amultiple response capability. The querying process would, uponreceiving multiple service descriptors, attempt to establishaccess to each service, one at a time, until successful. Service descriptors consist of an official name, a list ofalias names, and a network-dependent address. In the case ofArpanet Internet services, this address field would consist ofthe host address(32 bits), port(32 bits), and protocol number(8bits). For Arpanet NCP services, the address would consist of ahost address(24 bits) and a socket(32 bits).[Page 4] SRI InternationalNIC Name Server July 1979 Syntactically, service queries can be derived from host queriesby the addition of a service name field, as below: NET HOST SERVICE A network-independent service query, for example, can berepresented as: * * SERVICE3.4. Name Server Options The concept of options has been introduced in the discussion ofthe "similar names" function. Another group of options may beused to specify the format of the reply. At one extreme is thecompact, binary, style such as exists in the basic level ofservice. At the other extreme is an expanded, textual, stylesuch as is represented by a NIC host table record with officialand alias names included. Options can be envisioned thatspecify: - Binary versus text format - Inclusion of each field in the reply - Inclusion of official name, per field, in the reply - Inclusion of alias names, per field, in the reply - Inclusion of other miscellaneous information, such as operating system, machine type, access restrictions, and so on.Other options can be envisioned that specify the scope of thesearch, such as "find SERVER hosts only". An alternate form forspecifying formats might be to settle on several standard ones,and allow an option to select among them. Certainly, not all name servers can support all such options,and not all options are equally useful. Thus, the proposed listwill be expanded or contracted to fit the actual needs ofprocesses using the name server service.3.5. MORE DATA Protocol It should be noted that some of the proposed name serverextensions have the potential for generating more than a singledatagram's worth of reply, since the current DARPA InternetProtocol limits the size which all networks must support to 576octets [15]. In spite of this, the size of such replies need notrequire a full-blown stream protocol. Several alternativesSRI International [Page 5]July 1979 NIC Name Serverexist: 1. Disallow options that imply large replies. 2. Truncate the packet for large replies. 3. Ignore the recommended maximum datagram size. 4. Utilize an alternate base protocol for such requests. 5. Develop a MORE DATA protocol.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -