I may be misunderstanding this question, if that seems to be the case, please post a screenshot of where you are viewing the host's name.
You can change the Host name that appears in Dynatrace through the host settings, I believe that this will accomplish what you are trying to achieve
Simply putting in the IP Address for the host in the name field should accomplish this.
I am unaware of a way to dynamically change the name of each host, so this may need to be done for each host that you would like to exhibit this change.
Hope that helps,