WHOIS protocol is a simple protocol without a data model. With the constant development of computer and network communication technology, WHOIS protocol can no longer meet the requirements of users in various aspects. REST observes the entire network from the perspective of resource. Resources distributed throughout the network are located by URI, and client applications acquire representations of resources via URI. After obtaining representations, the applications transfer their states. With the increasing acquisition of representations of resources, the client applications transfer states constantly. Applying Restful Web Service proposed on the basis of the above mentioned theory to the realization of WHOIS, considering domain names, registrar and host information provided by the registry for query as resources, adopting HTTP based protocol framework, realizing lookup through URI, conducting operation of CRUD (Create, Read, Update and Delete) towards resources, and meanwhile using XML, JSON or HTML languageto return structurized WHOIS information rectify the flaws of WHOIS protocol.