Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 14272 invoked by uid 500); 6 Jul 2001 04:02:24 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 14254 invoked from network); 6 Jul 2001 04:02:23 -0000 Received: from r87-43-dsl.sea.lightrealm.net (HELO mail1.expertrade.com) (216.122.43.87) by h31.sny.collab.net with SMTP; 6 Jul 2001 04:02:23 -0000 Received: from reggae (reggae.expertrade.com [216.122.43.90]) by mail1.expertrade.com (8.9.3/8.9.3) with SMTP id VAA30203 for ; Thu, 5 Jul 2001 21:02:29 -0700 Message-ID: <000b01c105d0$79d31e60$5a2b7ad8@expertrade.com> Reply-To: "David Wall" From: "David Wall" To: References: <00ad01c105cc$c3aac320$5a2b7ad8@expertrade.com> <218081358.20010705235642@mailops.com> Subject: Re: Reverse DNS lookup Date: Thu, 5 Jul 2001 21:02:29 -0700 Organization: myEastside.com MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > InetAddress.getByName().getHostName() will do what you > want, if the info is available. Where would the info have to be available? Is there anything comparable to a "dig -x" command under Unix? For most IP addresses, there will not be anything configured on my computer, but I know that ARPA reverse lookups are possible. The method you show above still returns the IP address on my system, yet a "dig -x" will show the host name resolved. David