I built a 2012 r2 server. I named the server with an underscore in the name as requested by the application developer, e.g. "server_name".
Later we discovered that this was causing an issue with the server, so we changed the name to, e.g. "server-name".
However, when we load software on the server, it finds the server name with the underscore instead of the server name with the hyphen.
Where is it getting this? DNS shows the right name, the server shows the right name.