From owner-freebsd-questions Tue Jul 29 09:47:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA28116 for questions-outgoing; Tue, 29 Jul 1997 09:47:12 -0700 (PDT) Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA28100; Tue, 29 Jul 1997 09:47:02 -0700 (PDT) Received: (from joe@localhost) by florence.pavilion.net (8.8.5/8.8.5) id RAA21374; Tue, 29 Jul 1997 17:46:23 +0100 (BST) Message-ID: <19970729174622.13006@pavilion.net> Date: Tue, 29 Jul 1997 17:46:23 +0100 From: Josef Karthauser To: grog@FreeBSD.ORG Cc: andrew@ugh.net.au, freebsd-questions@FreeBSD.ORG Subject: Re: netstat and long hostnames References: <199707290003.JAA02683@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.79 In-Reply-To: <199707290003.JAA02683@freebie.lemis.com>; from grog@FreeBSD.ORG on Tue, Jul 29, 1997 at 09:33:58AM +0930 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, Jul 29, 1997 at 09:33:58AM +0930, grog@FreeBSD.ORG wrote: > Yup, this one is a real pain. Somebody should extend the size of the > field. In the meantime, you can get the full name with nslookup. For > example, > > === grog@freebie (/dev/ttypa) ~ 5 -> netstat > tcp 0 0 gregl1.lnk.telst.1223 www.sofcom.com.a.http CLOSE_WAIT > === grog@freebie (/dev/ttypa) ~ 6 -> netstat -n > tcp 0 0 139.130.136.133.1223 203.9.191.65.80 CLOSE_WAIT > === grog@freebie (/dev/ttypa) ~ 7 -> nslookup > > 139.130.136.133 > Name: gregl1.lnk.telstra.net > Address: 139.130.136.133 Yuck! ;) Joe -- Josef Karthauser Technical Manager Email: joe@pavilion.net Pavilion Internet plc. [Tel: +44 1273 607072 Fax: +44 1273 607073]