Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: branislav.gerzo [...] madein.sk
Cc:
AdminCc:

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



Subject: 2ge: DNS BUG
Date: Fri, 23 Sep 2005 14:38:09 +0200
From: "Branislav Gerzo" <branislav.gerzo [...] madein.sk>
To: <bug-poe-component-client-dns [...] rt.cpan.org>
Hi dngor, I'm sending you what you've requested; I copy/paste 1st example from http://poe.perl.org/?POE_Cookbook/Web_Client, when I run it on FreeBSD: ,----------------------------------------------------------------------- ------- | 500 (Internal Server Error) | | <html> | <HEAD><TITLE>Error: Internal Server Error</TITLE></HEAD> | <BODY> | <H1>Error: Internal Server Error</H1> | Cannon connect to poe.perl.org:80 (resolve error ??: Host has no address.) | </BODY> | </HTML> `----------------------------------------------------------------------- ------- resolv.conf: domain net nameserver 127.0.0.1 nameserver 207.218.192.38 nameserver 207.218.192.39 modules: POE 0.3202 0.3202 POE::Component::Client::DNS 0.9802 0.9802 POE::Component::Client::HTTP 0.71 0.72 * POE::Component::Client::Keepalive 0.04 0.05 * POE::Component::SSLify 0.04 0.04 Some of them are out of date, but I am not sure, if upgrading will solve the issue. Thanks /2ge
Subject: not falling back through resolv.conf (duplicate)
This issue is due to Net::DNS's bgsend() method only using the first nameserver in resolv.conf.
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.