I have historically got several devices with static leases and these can be picked up (with the correct assigned Ip address) and added into hostnames
I have recently tried to assign some more static leases to some additional devices. They show up in the Server Settings of the Static Leases tab with the newly assigned IP number (it is unique).
But when I go into the Hostnames, host entries and try and add these newly ip configured devices they are still showing the old (DHCP assigned) IP address. They also dont ping (but do on the old ip address).
Set both the IP and the hostname within the static lease. When the DHCP client with matching MAC address requests a lease, the hostname will also be entered into the table.
The /etc/hosts hostname table is useful mostly to get DNS lookup of hosts outside the LAN, such as on the other side of a VPN. Or if you have a LAN device with a static IP set locally on it, which is the old way of doing things and generally not recommended.