Skip Menu |

This queue is for tickets about the POE-Component-Client-DNS CPAN distribution.

Report information
The Basics
Id: 15009
Status: resolved
Priority: 0/
Queue: POE-Component-Client-DNS

People
Owner: Nobody in particular
Requestors: RCAPUTO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Umbrella: Net::DNS::bgsend() uses only the first nameserver
Many resolver problems stem from the fact that Net::DNS::bgsend() only uses the first nameserver in the list. It does not rotate through name servers when called repeatedly, and it does not provide a quick, clean way to specify the nameserver when calling bgsend(). This umbrella ticket gathers together all the bug reports that relate to POE::Component::Client::DNS not rotating through name servers like it should.
I have committed revision 75, which cycles through resolvers if the first one in the list (the one that Net::DNS::bgsend uses) times out. To avoid initial failures, the component sets the internal timeout to half the requested value. It will retry for the remaining time with the new resolver.