while (<OUT>) {
chomp;
exit if $_ eq $host;
}
print OUT $host, "\n";