RFC 3912
WHOIS Protocol Specification
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 Notice
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
Full Copyright Statement Β©οΈ
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
- ietf: rfc3912 2004-09
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms