Keep It Simple, Stupid | |
PerlMonks |
Re: Net::DNS::Resolver and nameserversby gam3 (Curate) |
on May 13, 2011 at 14:38 UTC ( [id://904683]=note: print w/replies, xml ) | Need Help?? |
The code
Net::DNS::Resolver->new(nameservers => [qw(1 2 3)];
and the code
are the same, so I think the problem with only the first DNS server being queried is a problem with the Net::DNS::Resolver package or the underlieing library. You might randomize the list of nameservers and reload them in a different order if a request fails.
-- gam3 A picture is worth a thousand words, but takes 200K.
In Section
Seekers of Perl Wisdom
|
|