Assuming you've got ActiveState Perl on your PC, including the LWP::UserAgent module:
Save the following in a file named ip_head.pl.
Call it using:
c:\ perl\bin\perl ip_head.pl iplist.txt
I accept no responsibility for anything which may happen.
#########################################
# START OF CODE
#########################################
use strict;
my ($line, $page);
while ($line = )
        {
        chomp($line);
        $page = p($line);
        print "$line\t$page\n";
        }
#################################################
sub p
{
my ($url) = @_;
my ($ua, $req, $res, @resarray, $head, $page);
use LWP::UserAgent;
if ($url =~ /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/)
        {
        $url = "
" . $url . "/";
        }
$ua = LWP::UserAgent->new;
$ua->timeout(10);
# INCLUDE THIS LINE IF YOU CONNECT THROUGH A PROXY SERVER
#$ua->proxy(http => '
access7:8080');
$req = new
equest HEAD => $url;
# INCLUDE THIS LINE IF YOU CONNECT THROUGH A PROXY SERVER NEEDING AUTHORISATION
#$req->proxy_authorization_basic("UserID", "Password");
$res = $ua->request($req);
if ($res->is_success)
        {
        $head = $res->headers;
        $page = $$head{'server'};
        }
else
        {
        $page = "NOT AVAILABLE";
        }
return ($page);
}
__END__
#########################################
# END OF CODE
#########################################