Home
Contents

IP Address and Domain Lookup - SmartWhois

Prev Page Next Page
 

Batch Processing

SmartWhois can process lists of IP addresses, hostnames, or domain names saved as plain text (ASCII) or Unicode files. The valid format for such batch files is simple: each line must begin with an IP address, hostname, or domain. If you want to process domain names, they must be located in a separate file from IP addresses and hostnames. If an IP address, hostname, or domain name is followed by other characters/words placed on the same line, there must be at least one space separating them from the first word on a line. Below is an example of a batch file, which is a standard web server log:

133.169.11.1 - - [10/Apr/2000:08:09:32 -0400] "GET /en.htm HTTP/1.0" 200 5413 "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)"

24.19.132.144 - - [10/Apr/2000:08:09:33 -0400] "GET /images/l2.gif HTTP/1.1" 200 848 "http://www.tamos.com/" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"

194.45.56.32 - - [10/Apr/2000:08:09:34 -0400] "GET /download.htm HTTP/1.0" 200 10921 "http://www.tamos.com/" "Mozilla/4.61 [en] (WinNT; I)"

Another sample batch file:

203.160.224.66

199.107.4.10

ns0.apecs.co.jp

161.196.244.104

24.94.163.6

pool0142.cvx25-bradley.dialup.earthlink.net

210.145.100.82

An example of a domain name batch file:

toyota.com

starpower.net

force9.co.uk

volvo.se

Additionally, the Text Containing IP Addresses batch query type is supported. If this option is selected, SmartWhois searches for IP addresses in text files and makes respective IP queries.

You can automate batch processing using command line options.