you can rely on the hosts file on the involved machines.
obviously in a production environment you have to register your hosts in the DNS