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 4590962D4 for ; Mon, 16 May 2011 20:31:30 +0000 (UTC) Received: (qmail 80590 invoked by uid 500); 16 May 2011 20:31:30 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 80554 invoked by uid 500); 16 May 2011 20:31:30 -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 80546 invoked by uid 99); 16 May 2011 20:31:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 20:31:30 +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; Mon, 16 May 2011 20:31:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B0CE3CC081 for ; Mon, 16 May 2011 20:30:47 +0000 (UTC) Date: Mon, 16 May 2011 20:30:47 +0000 (UTC) From: "Hadrian Zbarcea (JIRA)" To: dev@camel.apache.org Message-ID: <1967141532.16561.1305577847720.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 X-Virus-Checked: Checked by ClamAV on apache.org 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