rfc3912.txt 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. Network Working Group L. Daigle
  2. Request for Comments: 3912 VeriSign, Inc.
  3. Obsoletes: 954, 812 September 2004
  4. Category: Standards Track
  5. WHOIS Protocol Specification
  6. Status of this Memo
  7. This document specifies an Internet standards track protocol for the
  8. Internet community, and requests discussion and suggestions for
  9. improvements. Please refer to the current edition of the "Internet
  10. Official Protocol Standards" (STD 1) for the standardization state
  11. and status of this protocol. Distribution of this memo is unlimited.
  12. Copyright Notice
  13. Copyright (C) The Internet Society (2004).
  14. Abstract
  15. This document updates the specification of the WHOIS protocol,
  16. thereby obsoleting RFC 954. The update is intended to remove the
  17. material from RFC 954 that does not have to do with the on-the-wire
  18. protocol, and is no longer applicable in today's Internet. This
  19. document does not attempt to change or update the protocol per se, or
  20. document other uses of the protocol that have come into existence
  21. since the publication of RFC 954.
  22. 1. Introduction
  23. WHOIS is a TCP-based transaction-oriented query/response protocol
  24. that is widely used to provide information services to Internet
  25. users. While originally used to provide "white pages" services and
  26. information about registered domain names, current deployments cover
  27. a much broader range of information services. The protocol delivers
  28. its content in a human-readable format. This document updates the
  29. specification of the WHOIS protocol, thereby obsoleting RFC 954 [1].
  30. For historic reasons, WHOIS lacks many of the protocol design
  31. attributes, for example internationalisation and strong security,
  32. that would be expected from any recently-designed IETF protocol.
  33. This document does not attempt to rectify any of those shortcomings.
  34. Instead, this memo documents the WHOIS protocol as it is. In some
  35. areas, this document does document particular well known shortcomings
  36. of the WHOIS protocol. The discussion of possible protocols to carry
  37. out these functions, with updated capabilities to address the
  38. Daigle Standards Track [Page 1]
  39. RFC 3912 WHOIS Protocol Specification September 2004
  40. shortcomings, is being addressed in a separate IETF activity (CRISP
  41. Working Group).
  42. 2. Protocol Specification
  43. A WHOIS server listens on TCP port 43 for requests from WHOIS
  44. clients. The WHOIS client makes a text request to the WHOIS server,
  45. then the WHOIS server replies with text content. All requests are
  46. terminated with ASCII CR and then ASCII LF. The response might
  47. contain more than one line of text, so the presence of ASCII CR or
  48. ASCII LF characters does not indicate the end of the response. The
  49. WHOIS server closes its connection as soon as the output is finished.
  50. The closed TCP connection is the indication to the client that the
  51. response has been received.
  52. 3. Protocol Example
  53. If one places a request of the WHOIS server located at whois.nic.mil
  54. for information about "Smith", the packets on the wire will look
  55. like:
  56. client server at whois.nic.mil
  57. open TCP ---- (SYN) ------------------------------>
  58. <---- (SYN+ACK) -------------------------
  59. send query ---- "Smith<CR><LF>" -------------------->
  60. get answer <---- "Info about Smith<CR><LF>" ---------
  61. <---- "More info about Smith<CR><LF>" ----
  62. close <---- (FIN) ------------------------------
  63. ----- (FIN) ----------------------------->
  64. 4. Internationalisation
  65. The WHOIS protocol has not been internationalised. The WHOIS
  66. protocol has no mechanism for indicating the character set in use.
  67. Originally, the predominant text encoding in use was US-ASCII. In
  68. practice, some WHOIS servers, particularly those outside the USA,
  69. might be using some other character set either for requests, replies,
  70. or both. This inability to predict or express text encoding has
  71. adversely impacted the interoperability (and, therefore, usefulness)
  72. of the WHOIS protocol.
  73. 5. Security Considerations
  74. The WHOIS protocol has no provisions for strong security. WHOIS
  75. lacks mechanisms for access control, integrity, and confidentiality.
  76. Accordingly, WHOIS-based services should only be used for information
  77. which is non-sensitive and intended to be accessible to everyone.
  78. Daigle Standards Track [Page 2]
  79. RFC 3912 WHOIS Protocol Specification September 2004
  80. The absence of such security mechanisms means this protocol would not
  81. normally be acceptable to the IETF at the time of this writing.
  82. 6. Acknowledgements
  83. Ran Atkinson created an earlier version of this document. Ken
  84. Harrenstien, Mary Stahl, and Elizabeth Feinler were the authors of
  85. the original Draft Standard for WHOIS.
  86. 7. References
  87. 7.1. Normative References
  88. [1] Harrenstien, K., Stahl, M., and E. Feinler, "NICNAME/WHOIS", RFC
  89. 954, October 1985.
  90. Author's Address
  91. Leslie Daigle
  92. VeriSign, Inc.
  93. 21355 Ridgetop Circle
  94. Dulles, VA 20166
  95. US
  96. EMail: leslie@verisignlabs.com; leslie@thinkingcat.com
  97. Daigle Standards Track [Page 3]
  98. RFC 3912 WHOIS Protocol Specification September 2004
  99. Full Copyright Statement
  100. Copyright (C) The Internet Society (2004).
  101. This document is subject to the rights, licenses and restrictions
  102. contained in BCP 78, and at www.rfc-editor.org, and except as set
  103. forth therein, the authors retain all their rights.
  104. This document and the information contained herein are provided on an
  105. "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/S HE
  106. REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE
  107. INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR
  108. IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
  109. THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
  110. WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  111. Intellectual Property
  112. The IETF takes no position regarding the validity or scope of any
  113. Intellectual Property Rights or other rights that might be claimed to
  114. pertain to the implementation or use of the technology described in
  115. this document or the extent to which any license under such rights
  116. might or might not be available; nor does it represent that it has
  117. made any independent effort to identify any such rights. Information
  118. on the ISOC's procedures with respect to rights in ISOC Documents can
  119. be found in BCP 78 and BCP 79.
  120. Copies of IPR disclosures made to the IETF Secretariat and any
  121. assurances of licenses to be made available, or the result of an
  122. attempt made to obtain a general license or permission for the use of
  123. such proprietary rights by implementers or users of this
  124. specification can be obtained from the IETF on-line IPR repository at
  125. http://www.ietf.org/ipr.
  126. The IETF invites any interested party to bring to its attention any
  127. copyrights, patents or patent applications, or other proprietary
  128. rights that may cover technology that may be required to implement
  129. this standard. Please address the information to the IETF at ietf-
  130. ipr@ietf.org.
  131. Acknowledgement
  132. Funding for the RFC Editor function is currently provided by the
  133. Internet Society.
  134. Daigle Standards Track [Page 4]