I've been trying to find a command or file that contains all the previous hostnames a Linux/Solaris machine has had, but I can't seem to find any way to do this.
The question is really about the command or file that would contain such information, in large system audits of unknown servers and outdated reportings that would be quite useful.