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

Reply via email to