You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Hadrian Zbarcea (JIRA)" <ji...@apache.org> on 2011/05/16 22:34:47 UTC

[jira] [Commented] (CAMEL-3977) Timeouts in camel-dns

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

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

Forgot to mention that the other endpoints use the SimpleResolver (vs the ExtendedResolver) and that works fine.

> 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