bill001g :
Problem is host names is a concept unique to a particular OS. DHCP runs for many types of devices...even your router likely uses DHCP to get a ip from the ISP. Its not like your router has a hostname or if it does it means something different than say a ipphone or a roku box or a game console
All that the DHCP server sees is a request that says here is my mac address I want a IP. There is no field even in the packet to put in any form of host name.
Not sure what your goal is. DHCP can not be used as a security method to keep people off the network. Someone can always just not use DHCP and manually key in a ip.
That is incorrect. A hostname means exactly the same thing on all IP devices (the name of the host!). And, yes, routers do have hostnames (or can have them).
A DHCP request packet can contain far more information than the MAC of the requesting device. (For starters it will often contain a request for a specific IP address.) in particular it can contain a hostname. This is the DHCP option with a code value of 12.