#! /bin/sh

#   Resolve the new IP addresses in the "newips.txt" file
#   created by ddos_stat.pl and append them to the hostdb.txt
#   master host database.

cp -p hostdb.txt hostdb.txt.BAK
/usr/sbin/logresolve <newips.txt >newhosts.txt
cat newhosts.txt >>hostdb.txt
