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
The IP address and as number assignments for the Internet are hierarchical. ICANN (The Internet Corporation for Assigned Names and Numbers), which is responsible for numbering the IP addresses on the global Internet (originally owned by the IANA).
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
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.
" >>>
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
How to install and configure fail2ban in centosI. Introduction to fail2ban
Fail2ban can monitor your system logs, and then match the log error information (Regular Expression matching) to perform the corresponding blocking action (usually firewall ),
The network whois (the interface used to provide a legal interface for the WAN) copy code code as follows: function Whois_hichina ($domain) {Preg_match ("| (. +?)| Is ", @file_get_contents (' http://whois.hichina.com/cgi-bin/whois?domain= '. $domain.
I. INTRODUCTION Fail2ban can monitor your system logs, and then match the log error information (regular expression matching) to perform the corresponding blocking action (usually firewall ), for example, if someone is testing your SSH, SMTP, and
Introduction of Fai2banFail2ban can monitor your system log and then match the log's error message (regular match) to perform the appropriate masking action (usually called firewall masking), such as: When someone is testing your ssh, SMTP, ftp
Introduction of Fail2ban
Fail2ban can monitor your system log, and then match the log error message (regular match) to perform the appropriate shielding action (usually firewall), and can send e-mail notification system administrator, is not very
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.