RFC 3912

WHOIS Protocol Specification

πŸ“… published September 2004, from ietf

RFC 3912: WHOIS Protocol Specification πŸŽ€

okay bestie, this is RFC 3912 and it's all about the WHOIS protocol πŸ’– πŸ¦‹

  • Number and title: RFC 3912, WHOIS Protocol Specification
  • Author: L. Daigle (Leslie Daigle) from VeriSign, Inc. πŸ’…
  • Date: September 2004 🌸
  • Category: Standards Track ✨
  • Obsoletes: RFC 954 and RFC 812 πŸ’€, which means this one replaces both of them
  • Updates: nothing listed in the title block

Status of This Memo

okay so this document is an Internet standards track protocol spec for the whole Internet community πŸ‘‘. It wants discussion and suggestions for improvements πŸ’¬. If you want the current standardization state and status, check the "Internet Official Protocol Standards" (STD 1) πŸ“‹. Distribution of this memo is unlimited 🌈.

Copyright (C) The Internet Society (2004) πŸŽ€

Abstract

this doc updates the WHOIS spec and obsoletes RFC 954 ✨. the goal is to drop the stuff from 954 that isn't about the on-the-wire protocol and doesn't really fit today's Internet 🧹. it does NOT try to change the protocol itself, and it doesn't document the other uses of WHOIS that popped up after 954 came out πŸ™ˆ.

1. Introduction ✨

WHOIS is a TCP-based, transaction-oriented query/response protocol πŸ¦‹. It's used all over the place to give Internet users information 🌍. It started out as "white pages" stuff and info about registered domain names, but now it covers a much bigger range of information services 🧚. The protocol delivers its content in a human-readable format πŸ“–. This doc updates the WHOIS spec and obsoletes RFC 954 [1] πŸ’œ.

okay but here's the tea 🍡: WHOIS doesn't have a lot of the design stuff you'd expect from a newer IETF protocol, like internationalisation and strong security 😭. this document doesn't fix any of that πŸ™…β€β™€οΈ. instead it documents WHOIS as it is πŸ“Έ. it does call out some well-known shortcomings in a few places πŸ‘€. the work on protocols that could actually fix those shortcomings is happening in a separate IETF activity, the CRISP Working Group πŸ”₯.

2. Protocol Specification 🌸

a WHOIS server listens on TCP port 43 for requests from WHOIS clients πŸ”Œ. the client sends a text request, and the server replies with text πŸ’¬. every request ends with ASCII CR and then ASCII LF πŸŽ€. the response can have more than one line, so seeing CR or LF characters in it does NOT mean the response is over πŸ™ˆ. the server closes its connection as soon as the output is done πŸ”š. that closed TCP connection is how the client knows it got the whole response πŸ’….

3. Protocol Example 🧚

say you send a request to the WHOIS server at whois.nic.mil asking about "Smith" πŸ’Œ. here's what the packets on the wire look like πŸ“¦:

client                           server at whois.nic.mil

open TCP   ---- (SYN) ------------------------------>
           <---- (SYN+ACK) -------------------------
send query ---- "Smith<CR><LF>" -------------------->
get answer <---- "Info about Smith<CR><LF>" ---------
           <---- "More info about Smith<CR><LF>" ----
close      <---- (FIN) ------------------------------
           ----- (FIN) ----------------------------->

4. Internationalisation 🌏

WHOIS has not been internationalised 😬. there's no mechanism for saying which character set is in use πŸ€·β€β™€οΈ. originally the main encoding was US-ASCII πŸ”€. in practice though, some WHOIS servers (especially ones outside the USA) might be using some other character set for requests, replies, or both 🌍. not being able to predict or express the text encoding has hurt interoperability, and therefore usefulness, a lot 😩.

5. Security Considerations 🚨

⚠️ bestie, read this part carefully. WHOIS has NO provisions for strong security πŸ’€. it has no access control, no integrity, and no confidentiality. so WHOIS-based services should only be used for information that isn't sensitive and is meant to be accessible to everyone πŸ”’.

the lack of these security mechanisms means this protocol would not normally be acceptable to the IETF at the time of writing 😭πŸ”₯.

6. Acknowledgements 🫢

Ran Atkinson made an earlier version of this document πŸŽ€. Ken Harrenstien, Mary Stahl, and Elizabeth Feinler were the authors of the original Draft Standard for WHOIS πŸ‘‘.

7. References πŸ“š

7.1. Normative References

[1]  Harrenstien, K., Stahl, M., and E. Feinler, "NICNAME/WHOIS", RFC
     954, October 1985.

Author's Address πŸ’Œ

Leslie Daigle
VeriSign, Inc.
21355 Ridgetop Circle
Dulles, VA  20166
US

EMail: leslie@verisignlabs.com; leslie@thinkingcat.com

Copyright (C) The Internet Society (2004) πŸ’œ

this doc is subject to the rights, licenses and restrictions in BCP 78 and at www.rfc-editor.org. except as stated there, the authors keep all their rights πŸ¦‹.

this document and the info in it are provided on an "AS IS" basis 🫠. 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. that includes, but isn't limited to, any warranty that using the info here won't infringe any rights, and any implied warranties of merchantability or fitness for a particular purpose πŸ’….

Intellectual Property πŸ”

the IETF doesn't take a position on whether any Intellectual Property Rights (or other rights) that someone might claim about this technology are valid or in scope πŸ€·β€β™€οΈ. it also doesn't say whether licenses are available, and it hasn't independently looked for any such rights πŸ‘€. info on ISOC's rights procedures for ISOC Documents is in BCP 78 and BCP 79 πŸ“‹.

copies of IPR disclosures sent to the IETF Secretariat, any assurances of licenses that will be available, and the results of any attempt to get a general license or permission for implementers or users are available from the IETF's online IPR repository at http://www.ietf.org/ipr πŸ—‚οΈ.

the IETF invites anyone to bring it any copyrights, patents, patent applications, or other proprietary rights that might cover technology needed to implement this standard πŸ™Œ. send that info to the IETF at ietf-ipr@ietf.org πŸ“¨.

Acknowledgement 🌈

Funding for the RFC Editor function is currently provided by the Internet Society πŸ’–βœ¨

πŸ“¦ where this page comes from