Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2009 13:20:43 -0600
From:      Troy <troy@twisted.net>
To:        freebsd-questions@freebsd.org
Subject:   Last commmand showing resolved hostname
Message-ID:  <20090117192043.GA13219@twisted.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090117192043.GA13219>