The modified version of the WHOIS class. 1. simplified the code. (In fact, some unnecessary variable definitions are removed.) 2. the information retrieved from INTERNIC is too simple. WHOISSER 1 in INTERNIC feedback simplifies the code. (In fact, some unnecessary variable definitions are removed)
2. the information retrieved from INTERNIC is too simple. further query is performed based on the whois server
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 to toss, think directly with Chinaz page impl
[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
This article describes how to query whois information in php and related skills in php domain name query. For more information, see the following example. Share it with you for your reference. The details are as follows:
Php is used to query the whois information list.
function whois_query($domain) { // fix the domain name: $domain = strtolower(trim($domain)); $domain = preg_replace('/^http:\/\//i', ''
According to the 2014 ICANN regulations, all in the GoDaddy domain name registrars (including other registrars, of course) new registration, new transfer, the new transfer of domain names require WHOIS mailbox activation verification. After our new domain name, new transfer, new transfer domain name, the registrar will send a confirmation email to the WHOIS information in the mailbox, if we do not activate
Introduction: This is a detailed page of the domain name query system whois written by PHP. It introduces the related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 330401 'rolling = 'no'>If ($ domain){If ($ domain){$ Fp = fsockopen ("rs.internic.net", 43, $ errno, $ errstr, 10 );If (! $ FP){Echo "$ errstr ($ errno)N ";}Else{Fputs ($ FP, "$ domainrn
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 in Linux,However, jwhois must be installed. Take CentOS as an example:
Installation:
[root@centos ~]# yum install jwhois -y
Usage:
function Whois_hichina ($domain) {Preg_match ("|
$whois [0] = str_replace (' Friendship tip: According to the requirements of the registration Board, the expired domain name may be in the Registrar automatic renewal phase, you see the domain name due date in this query for reference only
return $whois [0]);
}
New Web whois (non-new network provided, only acc
This article is an example of how to query whois information in PHP. Share to everyone for your reference. Specifically as follows:
Here, use PHP to query the list of Web sites for whois information
?
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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 6
This article mainly describes the Python module based on the simple identification of the site domain name and owner of the method, a simple analysis of the Python whois module installation and use of relevant operating skills, the need for friends can refer to the following
The examples in this paper describe the method of simple identification of website domain names and owners based on the WHOIS module.
How to query whois information in PHP
In this paper, we explain how to query whois information in PHP. Share to everyone for your reference. Specific as follows:
Use PHP to query the list of websites that query whois information
?
123456789101112131415161718192021st22232425262728293031323334353637383940414243444546474849505152535455565758596061626364
Ajax said novel is not novel technology , if you have used Google Map service will realize his advantages, of course, can not be used, hehe!The following is a small example of their own writing, for reference only, laughed!
is to call the WHOIS query for 7eDetailed content can go online search ~The specific code is as follows:main.html content
HTML
>
Head
>
title
>
invoking WHOIS queries with Aja
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 Code code 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,
Whois is simply a database that queries whether the domain name has been registered, as well as the details of the registered domain name (such as domain name owner, domain name registrar, domain name registration date, and expiration date, etc.). Through the domain name WHOIS server query, you can query the contact information of the domain owner, as well as the registration and expiration time. In general
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
Use PHP to query the domain name status whois class
The code is as follows:
Class SearchDomain{Var $ domain = "";Function SetDomain ($ udomain){$ This-> domain = $ udomain;}//// Obtain whois and analyze the domain name status// OK is not registered// Non-null expiration time// Null value unknown//Function GetInfo (){/*$ Dinfo = trim ($ this-> GetWhois ());If ($ dinfo = "") return "";If (eregi ("no match
Php method of querying whois information, Phpwhois information method
In this paper, we explain how to query whois information in PHP. Share to everyone for your reference. Specific as follows:
Use PHP to query the list of websites that query whois information
function Whois_query ($domain) {//fix the domain name: $domain = Strtolower (Trim ($domain)); $domain
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.