Linux Whois command installation and use, linuxwhois command Installation
Everyone knows how to view the details of a domain name,They all go to the whois server to query,Like http://whois.chinaz.com
In fact, there is a whois command
Million-net Whois (the interface used to provide a legal interface to the WAN)
Copy the Code code as follows:
function Whois_hichina ($domain) {Preg_match ("|
(.+?)|is ", @file_get_contents (' http://whois.hichina.com/cgi-bin/whois?domain= ' $domain. '), $whois);
$whois [0] = str_replace (' Friendly tip: The expire
The previous article mainly introduced Python through the socket query Whois method, involving Python based on the Socket module query related skills, with a certain reference value, the need for friends can refer to the next http://www.cnblogs.com/ Zhangmengqin/p/9144022.htmlKnock the blackboard!!! each domain suffix corresponds to the WHOIS server is not the same! So how do I know the domain suffix that I
Directory Services". In addition to the WHOIS services provided by registrars and registries, ICANN has now developed a new set of WHOIS services to simplify WHOIS query procedures. ICANN's WHOIS service is a public search tool that allows you to search the registry and Registrar's database to obtain contact detail
Whois query interface documentation
Whois (hereinafter referred to as "who is") is a transmission protocol used to query the IP address of a domain name and information such as the owner. Simply put, whois is a database used to query whether a domain name has been registered and the details of the domain name to be registered (such as the domain name owner and do
In operation and maintenance work, sometimes need to query some domain name registration information (domain name NS, registered users, registered mailbox, etc.), you can use the WHOIS command.The WHOIS command is used to find and display user-related information for a specified account (or domain name), because it is located in the
I'm afraid a lot of friends like me,makewithpythonlanguageincrediblycan beImplementwhoisServer Queryfunction. belowI put the code and instructions to everyone to see, who need to be able to refer to. Originally want to directly from the WHOIS server query, but found to write the socket with 43 port link server, but some server address is not clear, and the query command seems to have changed so do not want
using python for whois queries
installing whois with the PIP command
Pip Install Python-whois
Python 2.7.6 (default, OCT 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type ' help ', ' copyright ', ' credits ' or ' Licens E "For more information.
" >>> import whois
>>>
How to use
subordinates. China's national Registration Authority is the Internet Information Center (CNNIC).Whois (read "Who is", not an abbreviation) is a transport protocol used to query the IP of a domain name and the owner of such information. In short, WHOIS is a database (such as the domain owner, domain name registrar) that is used to inquire about whether a domain name has been registered and the details of r
"Original": before using php to query domain name whois information, a whois query tool was specially deployed on the plog.cn server to implement "plog.cn 1-6 Super-expecting to delete short domain names. PS: method of use http://plog.cn/whois/yourdomain.com
In order to implement this whois tool, I checked the inform
This article describes how to query whois information in php. It involves the related skills of querying php domain names. For more information, see
This article describes how to query whois information in php. It involves the related skills of querying php domain names. For more information, see
This example describes how to query whois information in php
How to query whois information in php
This example describes how to query whois information in php. Share it with you for your reference. The details are as follows:
Php is used to query the whois information list.
?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Due to historical Internet reasons, apin is responsible for the overall planning of the entire network IP address and IP allocation management in some African regions in North America. Correspondingly, whois.apin.net is the root server of IP whois, the standard IP whois query method is to first query whois.apin.net which region an IP belongs to, and then query the whois
[To] How is the IP address of the carrier assigned by WHOIS?The IP address distribution of some Chinese telecom operators is obtained under Linux:Apnic is the organization of IP address allocation in the Asia-Pacific region, it has a rich and accurate IP address allocation database, and this information is also public, and provides a query tool, let us see how to get some of the Chinese basic telecom operators (Netcom, telecommunications, CRC, Educati
PHP code for domain name whois query (data source HiChina, Xinnet ). The code for copying the HiChina whois code is as follows: functionwhois_hichina ($ domain) {preg_match (| pre (. + ?) Pre | is, @ file_get_contents (whois HiChina whois (the interface used provides valid interfaces for HiChina)
The code is as follo
Here we obtain data from the data interface of the WAN or new network, and then output it through the simple text processing of PHP.
Copy CodeThe code is as follows:
$domain = $_get[' Q '];
Preg_match ("
Is ", @file_get_contents (' http://www.xinnet.cn/Modules/agent/serv/pages/domain_whois.jsp?domainNameWhois= '. $ Domain. ' nocode=nocode '), $whois);
echo $whois [1];
?>
Do here, may have some friends to
Due to the historical reasons for the Internet, Apin is responsible for the overall network IP planning as well as the North American region also has some of Africa's IP allocation management, and accordingly, whois.apin.net is the IP whois root server, the standard IP whois query method is , first query the whois.apin.net for which area an IP belongs to, and then query the
Php function: Domain name whois query (query using interfaces of HiChina and Xinnet ). Function 1 :? Php HiChina whois (the interface used to provide valid interfaces for HiChina) functionwhois_hichina ($ domain) {preg_match (| pre (.?) Pre | is, @ file_get_contents (whois. hichin function 1:
// HiChina whois (the int
Author: Guang mangoSource: evil baboons Information Security Team (www.eviloctal.com)Note: This article has been published in the non-secure guest manual.Since the announcement of whois technology, bypass attacks have become a very common attack method for hackers. In addition to configuring directory permissions, we can also block hackers when querying whois.Let's first analyze the principle of whois query
Function 1: lt ;? Php // HiChina whois (the interface used to provide valid interfaces for HiChina) functionwhois_hichina ($ domain) { nbsp; preg_match (| lt; pre gt; (.?) Lt;/pre gt; | is, @ file_get_contents (http: // whois function 1:
// HiChina whois (the interfaces used provide valid interfaces for HiChina)
Function whois_hichina ($ domain ){
Preg_matc
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.