John Rudd wrote:

a) Does anyone think I _should_ switch to Net::DNS for the botnet_baddns function? Or is the gethostbyname() call good enough?

If they provide what you need, I think using the permsgstats object's lookup 
methods would be the right thing.

I also think you should check $pms->is_dns_available() before checking DNS.

Regards (and thanks for thge plugin)
/Jonas
--
Jonas Eckerman, FSDB & Fruktträdet
http://whatever.frukt.org/
http://www.fsdb.org/
http://www.frukt.org/

Reply via email to