good question!What i had to do in this circumstance for example is to name a laptop as laptop-wireless and laptop-ethernet for the static dhcp leases.
ok, I added several names to my /etc/hosts with different names and the same ip for the different names.to be clear the host file i used is on the machine i use to access all others and NOT on the OPNsense box!