# querywhois **Repository Path**: long1218/querywhois ## Basic Information - **Project Name**: querywhois - **Description**: java 查询 whois 信息 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-07-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # querywhois 示例: ```java @Test public void test() throws Exception { QueryResult result = WhoisQuery.query("新浪.中国"); System.out.printf("状态:%d%n%s%n", result.getStatus(), result.getMsg()); } /* 状态:0 Domain Name: 新浪.中国 Puny Name: xn--efvx5o.xn--fiqs8s Domain Name: 新浪.中國 Puny Name: xn--efvx5o.xn--fiqz9s ROID: 20040304s12345s00144078-cn Domain Status: serverDeleteProhibited Domain Status: serverTransferProhibited Domain Status: serverUpdateProhibited Registrant ID: sanf142434 Registrant: 新浪网技术(中国)有限公司 Registrant Contact Email: domainname@staff.sina.com.cn Sponsoring Registrar: 北京中科三方网络技术有限公司 Name Server: ns1.sina.com.cn Name Server: ns2.sina.com.cn Name Server: ns3.sina.com.cn Registration Time: 2000-11-06 00:00:00 Expiration Time: 2018-07-23 00:00:00 DNSSEC: unsigned */ ```