Unable to see node hostname in cluster

how does the system see itself? what is the first entry in /etc/hosts?

how does the shell writes the hostname?