Hi,

> How would it know that dns is down?  Ask again and hope it works?
> There's no difference between the answers you get for "this domain
> doesn't exist" and "the network is broken".

I can understand that. It makes a lot of sense now.

One thing I could do is to increase the timeout value of the script
and hope the false positives decrease or even deactive DNS checks
alltogether.

# DNS sucks moose rocks. So we have to do a bazillion queries in
# parallel to get any kind of speed. Sigh... Whip through the list of
# addresses being sent, and validate them by checking for an A or
# MX record. We don't use Email::Validate because it can't do background
# queries. instead we use Net::DNS directly and call select..

my $timeout = 15;
my $sel = IO::Select->new;

Could there be any unwanted side-effects from this change?

Regards,

Jose


--
Nothing says Labor Day like 500hp of American muscle
Visit OnCars.com today.

Reply via email to