Re: ORBit2 2.9.6: linc2/test/test-linc fails on missing reverse DNS



Hello.

On Wed, 2004-03-03 at 12:21, Michael Meeks wrote:
> 
> On Thu, 2004-02-26 at 12:04, Richard Dawe wrote:
> > linc2/test/test-linc from 2.9.6 fails for me, because my dev box has no
> > reverse DNS entry. I guess it would fail in later versions too.
> 
> 	Yes - lots of stuff starts to fail if you can't ping `hostname`; is
> that what you're talking about ?
[snip]

No, that works fine:

[rdawe@horza rdawe]$ ping `hostname`
PING horza.int.star.net.uk (10.2.100.194) from 10.2.100.194 : 56(84)
bytes of data.
64 bytes from 10.2.100.194: icmp_seq=1 ttl=64 time=0.053 ms
64 bytes from 10.2.100.194: icmp_seq=2 ttl=64 time=0.040 ms

--- horza.int.star.net.uk ping statistics ---
2 packets transmitted, 2 received, 0% loss, time 999ms
rtt min/avg/max/mdev = 0.040/0.046/0.053/0.009 ms

But the reverse look-up fails:

[rdawe@horza rdawe]$ nslookup 10.2.100.194
Server:         10.2.1.20
Address:        10.2.1.20#53

** server can't find 194.100.2.10.in-addr.arpa: NXDOMAIN

The test fails, because link_protocol_get_sockinfo fails.
link_protocol_get_sockinfo calls link_protocol_get_sockinfo_ipv4, which
uses gethostbyaddr, which fails for my dev box, since it has no reverse
DNS entry (see above).

Basically I was wondering whether the test should just warn that this
failed, rather than it being an error (and hence a failure).

Is there functionality in ORBit2 that requires reverse DNS lookups to
succeed?

Or is it just a convenient way to test linc2?

Thanks, bye, Rich

-- 
Richard Dawe
Software Engineer - Mail Engine
MessageLabs Ltd., UK



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]