Tag: whois

Network, Python

Make whois queries

PyWhois is a python module for retrieving WHOIS information of domains. Script: #!/usr/bin/python   import sys, whois from optparse import OptionParser   def main(): try: parser = OptionParser() parser.add_option("-d", "–domain", dest="domain", help="domain to query") (options, args) = parser.parse_args()   if options.domain==None: parser.print_help() sys.exit(0)   print ‘looking for ‘ + options.domain + ‘..n’ w = whois.whois(options.domain) …

Linux, Tools

Who is?

WHOIS is a query and response protocol that is widely used for querying databases that store the registered users or assignees of an Internet resource, such as a domain name, an IP address block, or an autonomous system, but is also used for a wider range of other information. The WHOIS protocol is documented in …