Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6C766A8A for ; Tue, 28 Jun 2011 16:14:41 +0000 (UTC) Received: (qmail 86607 invoked by uid 500); 28 Jun 2011 16:14:39 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 86238 invoked by uid 500); 28 Jun 2011 16:14:38 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 86220 invoked by uid 99); 28 Jun 2011 16:14:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 16:14:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 16:14:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A189143753A for ; Tue, 28 Jun 2011 16:14:17 +0000 (UTC) Date: Tue, 28 Jun 2011 16:14:17 +0000 (UTC) From: "Hadrian Zbarcea (JIRA)" To: dev@camel.apache.org Message-ID: <1254406252.2203.1309277657658.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1967141532.16561.1305577847720.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CAMEL-3977) Timeouts in camel-dns MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hadrian Zbarcea updated CAMEL-3977: ----------------------------------- Fix Version/s: (was: 2.8.0) 2.9.0 > Timeouts in camel-dns > --------------------- > > Key: CAMEL-3977 > URL: https://issues.apache.org/jira/browse/CAMEL-3977 > Project: Camel > Issue Type: Test > Affects Versions: 2.7.0 > Environment: OSX 10.6.7, JDK6 > Reporter: Hadrian Zbarcea > Assignee: Hadrian Zbarcea > Priority: Minor > Fix For: 2.9.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