From owner-freebsd-questions@FreeBSD.ORG Sat Jan 17 19:31:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D5DF10656C8 for ; Sat, 17 Jan 2009 19:31:48 +0000 (UTC) (envelope-from troy@twisted.net) Received: from oz.twisted.net (oz.twisted.net [69.211.34.241]) by mx1.freebsd.org (Postfix) with ESMTP id E0C318FC1C for ; Sat, 17 Jan 2009 19:31:47 +0000 (UTC) (envelope-from troy@twisted.net) Received: from localhost (localhost [127.0.0.1]) by oz.twisted.net (Postfix) with ESMTP id 14D13FCE6BE for ; Sat, 17 Jan 2009 13:20:44 -0600 (CST) X-Virus-Scanned: by amavisd-new at twisted.net Received: from oz.twisted.net ([127.0.0.1]) by localhost (oz.twisted.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gm54yNsYCRF5 for ; Sat, 17 Jan 2009 13:20:43 -0600 (CST) Received: by oz.twisted.net (Postfix, from userid 1001) id 93F1BFCF430; Sat, 17 Jan 2009 13:20:43 -0600 (CST) Date: Sat, 17 Jan 2009 13:20:43 -0600 From: Troy To: freebsd-questions@freebsd.org Message-ID: <20090117192043.GA13219@twisted.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Last commmand showing resolved hostname X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: troy@twisted.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2009 19:31:49 -0000 I have a question. Is there a way that you can make the 'last' command display the DNS resolved name of the users that have logged into a machine rather than the IP address. Showing both name and IP address would be even better. I looked at the man page (man last) and it says "Host names may be names or internet numbers". The machine has it's DNS client working just fine. I can resolve names perfectly fine on the machine. It just appears that the 'last' command needs something that I'm unaware of to use the DNS resolver. Any ideas? -Troy