WHOIS Protocol Specification
Extracted elements (6)
WHOIS lacks internationalisation and strong security that would be expected from a recently-designed IETF protocol. This document does not attempt to rectify those shortcomings but documents the protocol as it is; updated capabilities are being addressed in the CRISP Working Group.
The WHOIS protocol has no mechanism for indicating the character set in use. Originally US-ASCII was predominant, but some servers outside the USA use other character encodings for requests, replies, or both, adversely impacting interoperability.
The WHOIS server closes its TCP connection as soon as output is finished. The closed TCP connection is the sole indication to the client that the complete response has been received.
WHOIS is a TCP-based transaction-oriented query/response protocol. A WHOIS server listens on TCP port 43 for requests from WHOIS clients. The protocol delivers its content in a human-readable format.
WHOIS has no provisions for strong security: it lacks mechanisms for access control, integrity, and confidentiality. Accordingly, WHOIS-based services should only be used for non-sensitive information intended to be accessible to everyone.
All client requests are terminated with ASCII CR followed by ASCII LF (CRLF). The response may contain multiple lines; the presence of CR or LF within the response does not indicate end of response.