So the requirement is to be able to resolve a name to an IP address, to
connect to the host, right?
If you want dynamic, changing ip addresses, you probably want to have
the dhcp server update DNS (which means using DNS rather than hosts files)
Alternatively, make sure the ip addresses don't change - either set them
statically on the machine (outside the dhcp dynamic range), or configure
the dhcp server to allocate fixed addresses.
I don't use Windows, but I believe all those things are possible.
Richard