⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc830.txt

📁 RFC 相关的技术文档
💻 TXT
📖 第 1 页 / 共 3 页
字号:
AFFIRMATIVE RESPONSE   Command Type   Number of Items   Service Indicator   Length   Transport Protocol/Service/Service Type   Address Indicator   Address Length   AddressExamples:   2  2   3 13 TCP/SMTP/mail   2  6 "10  2  0 52  6 25"   2  3   3 14 TCP/NIFTP/RFT   2  6 "10  3  0  2  6 47"   2  6 "39  0  0  5  6 47"     An affirmative response implies that the destination offers thesame service as that of the originator.  A multi-resolution response ispossible.  The parsing of an address is implied by the indicatedtransport protocol.  In the second example, the transport protocol isTCP.  Thus, the address is composed of three fields: the internetaddress (10 2 0 52), the protocol number (6 for TCP), and the portnumber (25 for SMTP).  The returned address(es) is to be relayed to theoriginating application process.                                   11RFC 830                                                       October 1982INCOMPATIBLE SERVICE   Command Type   Number of Items   Service Indicator   Length   Transport Protocol/Service/Service Type   Service Indicator   Length   Transport Protocol/Service/Service Type   Address Indicator   Address Length   Address     This response indicates no compatible application and/or transportservice available serving the destination.  For example, SMTP may be therequested application service, while only NIFTP-mail is availableserving the destination.  Return with this command is the availableservice of that type.  If no service available for that service type, aempty text string is returned.Examples:   9  2   3 14 TCP/NIFTP/mail   3  0   9  4   3 13 TCP/NIFTP/RFT   3 11 TCP/FTP/RFT   2  6 "10  3  0  2  6 21"   2  6 "39  0  0  5  6 21"In the first example, the destination does not offer any kind of mailservice.  The second example indicates that there is no NIFTP, but FTPavailable for remote file transfer service at the destination.4.2.3 AIP/DNS Communication     The source AIP presents its associated DNS with a fully qualifieddomain specification for resolution.  The expected resolution result isthe network address for the destination endpoint DNS.  We assume no needfor communication between the DNS and AIP at the destination.REQUEST   Command Type   Number of Items   Name Indicator   Name Length   Name StringExamples:   1  1   1 14 F.ISI.USC.ARPA   1  1   1 12 TSC.SRI.ARPA                                   12RFC 830                                                       October 1982AFFIRMATIVE RESPONSE   Command Type   Number of Items   Name Indicator   Name Length    Name String   Service Indicator   Service Length   Transport Protocol   Address Indicator   Address Length   AddressExamples:   2  3   1 14 F.ISI.USC.ARPA   3  3 UDP   2  6 "10  2  0 52 17 42"   2  4   1  7 TSC.SRI.ARPA   3  3 UDP   2  6 "10  3  0  2 17 42"   2  6 "39  0  0  5 17 42"An affirmative response returns an address of the destination endpointDNS.  This returned address is that of the destination DNS.  Thedestination transport service needs to be indicated for guiding theparsing of the destination address.NEGATIVE RESPONSE   Command Type   Number of Items   Name Indicator   Name Length   Name String   Name Indicator   Name Length   Partial Name String   [Comment Indicator  Comment Length   Comment]     This response indicates that the domain name service is unable toresolve the given destination domain name.  It could be caused by anunknown simple name, which may result from, for example, misspelling.Returned with this command is the left-most portion of the specifiedname containing the cause of resolution failure.Example:     1  3     1  9 F.ISI.USC     1  9 F.ISI.USC     9 18 Resolution Failure                                   13RFC 830                                                       October 19824.2.4 DNS/DNS Communication     The domain name service is an application independent networkservice.  It provides the resolution of domain names.  For thespecification of this service the reader is referred to [2].4.3  Transport Protocol     For generality, this specification is intentionally transportprotocol independent.  Implications for the use of TCP and UDP arespecifically considered.     Typically, for distributed name service a server A makes a requestto a server B, server B may need to in turn contact other servers tocomplete a resolution.  TCP is a connection-oriented protocol.  Itoffers reliable transport, but also imposes certain amount of overheadfor connection establishment and maintenance.  For most cases, the useof TCP is not recommended.     UDP is a datagram service offering a transport capacity perdatagram in excess of 500 octets.  Such capacity should suffice mostconceivable commands within this specification.  However, it does imposea limit on the total length of a command.  In order to enhancereliability, the request is incorporated as part of every responsecommand.                       5   NCP TO TCP TRANSITION     The Internet Naming Convention, "<user>@<domain>.  ...  . <domain>"[1], is a generalization of "<user>@<host>", the ARPANET NamingConvention.  It is a generalization in the sense that the ARPANET NamingConvention can be considered as a partially qualified form of the subset"<user>@<host>.ARPANET".  (We assume here ARPANET is a top-level domainname.)     For the transition from NCP to TCP, we may initially treat eachhost name entry in the current host table as a subdomain of the top-level domain ARPANET.  Thus, initially there would be a very flat domainstructure.  This structure can be gradually changed after the transitiontoward a hierarchical structure when more and more domains andsubdomains are defined and name servers installed.  In the process ofthis change, the host table would be gradually converted intodistributed domain tables (databases).  For the newly created domaintables, no standard format would be required.  Each individual domaintable may have its own format suitable to the design of its associateddomain name server.                                   14RFC 830                                                       October 1982REFERENCES[1]  Su, Z. and J. Postel, "The Domain Naming Convention for InternetUser Applications,"  RFC 819, SRI International (August 1982).[2]  Postel, J., "Domains Name Server," RFC XXX, USC/InformationSciences Institute (to appear).[3]  Postel, J., "Assigned Numbers," RFC 790, USC/Information SciencesInstitute (September 1981).                                   15RFC 830                                                       October 1982                               Appendix A			 CONVENTION ASSIGNMENTS     Command Types     Request              1     Affirmative Response 2     Negative Response    3     Imcompatible Service 9     INDICATORS     Name Indicator       1     Address Indicator    2     Service Indicator    3     Comment Indicator    9     TRANSPORT PROTOCOLS:  TCP, UDP, NCP     SERVICES     Service Protocols                  Service Type     MTP                                mail     SMTP                               mail     FTP    (FTP mail)                  mail     NIFTP  (NIFTP mail)                mail     MMDF                               mail     FTP                                RFT (remote file transfer)     Telnet                             RTA (remote terminal access)                                   16

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -