Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 44788 invoked by uid 500); 6 Jul 2001 16:15:15 -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 44774 invoked from network); 6 Jul 2001 16:15:14 -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 16:15:14 -0000 Received: from reggae (reggae.expertrade.com [216.122.43.90]) by mail1.expertrade.com (8.9.3/8.9.3) with SMTP id JAA31588 for ; Fri, 6 Jul 2001 09:15:15 -0700 Message-ID: <00b301c10636$d9a11de0$5a2b7ad8@expertrade.com> Reply-To: "David Wall" From: "David Wall" To: References: <123525329.20010706082559@mailops.com> Subject: Re: Re[2]: Reverse DNS lookup Date: Fri, 6 Jul 2001 09:15:19 -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 > RL> The InetAddress...getHostName() call will use the DNS databases. > RL> For most computers, however, this won't return anything useful. > > That is not true. Most of US IPs have PTR records. That includes your > own IP, that you had when sending your msg. By far, most servers have rDNS, > most dynamic IPs do, most static IPs for cable/DSL do, and even most routers > do. The IP address I was testing is 216.122.43.90 and I am able to do a reverse lookup using dig from the webserver. It just seems to me that the InetAddress class is perhaps not using whatever it needs to do to use DNS. Does anybody know what the implementation of InetAddress is actually doing under the hood? David