[lug] Bulk whois

Kirk Rafferty kirk at fpcc.net
Mon Jun 4 12:57:54 MDT 2001

If you had a text file (let's call it doms.txt) with one domain per line,
you could do something like:

for i in `cat doms.txt`
   whois $i

If you need per-registry info though, it'll be a little more involved.
You'll have to do the initial whois with Network Solutions' whois server
then look for the line:

Whois Server: whois.someregistry.com

Then you'll need do do a whois against the whois.someregistry.com server.
Perl would be ideal for this.

Hope that helps.


On Sun, Jun 03, 2001 at 02:17:28PM -0700, Stephen Smith wrote:
> Is there a way to do a bulk whois from a source file
> or directory?

More information about the LUG mailing list