t/81_hosts.t fails when OpenDNS is configured as DNS provider

Marc Lehmann schmorp at schmorp.de
Tue Oct 1 21:26:01 CEST 2013


On Tue, Oct 01, 2013 at 02:21:22PM +0200, Christian Walde <walde.christian at gmail.com> wrote:
> The test in t/81_hosts.t attempts to verify that PERL_ANYEVENT_HOSTS
> is used correctly, by trying to resolve an invalid host, and
> expecting it to fall back. When OpenDNS is configured as a DNS
> provider however, it responds with the IP 67.215.65.132 to requests
> of non-existant or invalid hosts.

AnyEvent requires a working DNS server - if the test fails with opendns,
then your dns configuration is indeed not working properly, and failure is
expected.

> I'm willing to provide a patch for this. Which resolution for this
> would you prefer?

This is a problem outside the scope of AnyEvent, really. If DNS is that
badly broken, then a test failure is the least of your problems.

Note that you can still install AnyEvent just fine - the test merely
signals that you will not correct dns resolution.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list