Up one level
README 1161 Aug 9 2002
favicon.ico 20 Apr 6 2003
filelist.html
hostlookup 2018 Aug 8 2002
hostlookup.v0.1 475 Aug 6 2002
hostlookup.v0.2 2018 Aug 8 2002
index.html
internal-gopher-menu 29 Apr 6 2003
internal-gopher-unknown 32 Apr 6 2003

README

	Place hostlookup anywhere in your path.  ~/bin is a good choice
for non-root users, /usr/local/bin or /usr/bin if you're root.

	Some different ways to feed addresses into hostlookup:

$ echo 199.245.105.1 206.228.67.167 | hostlookup
shell.dhp.com.
slartibartfast.pa.net.

$ hostlookup 199.245.105.1 206.228.67.167
shell.dhp.com.
slartibartfast.pa.net.

$ ( echo 199.245.105.1 ; echo 206.228.67.167 ) | hostlookup
shell.dhp.com.
slartibartfast.pa.net.

$ echo -e '199.245.105.1\n206.228.67.167' | hostlookup
shell.dhp.com.
slartibartfast.pa.net.

$ cat some_file_containing_IPs | hostlookup
...

	To do reverse lookups on an entire class B or C:
$ hostlookup 127.0.0.
	or
$ hostlookup 127.0.


	How to look up all non-rfc1918 addresses in /etc/hosts:

cat /etc/hosts | \
 sed -e 's/#.*//' | \
 grep -v '^10\.' | \
 grep -v '^192\.168\.' | \
 grep -v '^172\.1[6-9]' | \
 grep -v '^172\.2[0-9]' | \
 grep -v '^172\.3[01]' | \
 grep -v '^\W*$' | \
 awk '{print $1}' | \
 hostlookup

	To get the hostnames of all the people who've visted your web
site:

cat /var/log/httpd/*_log | awk '{print $1}' | uniq | sort | uniq | hostlookup >/var/log/httpd/all-web-hosts



The files in this collection are part of William Stearns' software archive. If any of the links on this page do not work, you may be viewing an incomplete mirror. There is a complete list of the mirror sites at the starting page for this mirror and at the primary mirror.


Generated Wed Oct 27 00:34:11 EDT 2004 by htmlfilelist version 0.8.4