camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadrian Zbarcea (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-3977) Timeouts in camel-dns
Date Mon, 16 May 2011 20:54:47 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034303#comment-13034303
] 

Hadrian Zbarcea commented on CAMEL-3977:
----------------------------------------

Changes in r1103887 fix the problem. I had to disable a couple of tests, so need to get back
and investigate a bit more. Running nslookup works fine, it would be good to see what wireshark
has to say about the differences in packets. 

> Timeouts in camel-dns
> ---------------------
>
>                 Key: CAMEL-3977
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3977
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>         Environment: OSX 10.6.7, JDK6
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.8.0
>
>
> Tests for the DnsIpEndpoint and DnsLookupEndpoint consistently fail on my OS X box (but
they don't on Linux or Win).
> {code}
> Caused by: java.net.UnknownHostException: unknown host
>         at org.xbill.DNS.Address.lookupHostName(Address.java:239)
>         at org.xbill.DNS.Address.getByName(Address.java:264)
> {code}
> The cause seems to be related to Lookup receiving a response of type == DELEGATION, which
causes the exception above and may be related to the router's NAT. Using different NS server
configuration didn't help.
> For the DnsIpEndpoint, changing from org.xbill.DNS.Address.getByName() to java.net.InetAddress.getByName()
solves the problem, I am looking for a solution for the Lookup endpoint too.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message