3
1
Is there a way to provide a specific hostname to an application that differs from the machine hostname on Linux? Basically, I have a piece of software that expects the local machine to have a certain hostname that differs from my machine hostname. Rather than change the machine hostname globally, I'd like a mechanism where I can either run the program in an environment with the specified hostname or run the program directly with the specified hostname.
How is the hostname used in the program? For DNS purposes? – heavyd – 2015-10-12T22:59:38.947