Last commmand showing resolved hostname

Troy troy at twisted.net
Sat Jan 17 11:31:49 PST 2009


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


More information about the freebsd-questions mailing list