Windows DHCP server:
On CentOS/RHEL linux clients requesting a dhcp address on eth0:
Create the file /etc/dhcp/dhclient-eth0.conf with the following command:
echo "send host-name \"`hostname -s`\";" > /etc/dhcp/dhclient-eth0.conf
That’s it! To confirm it’s working as expected:
Reboot the linux dhcp client. Then type
cat /var/run/nm-dhclient-eth0.conf to verify dhclient-eth0.conf was used and merged into eth0′s running config.
nslookup from a network client
On the DNS server:
Check the applicable zone under “Forward Lookup Zones” for an “A” record for the linux client. Also, check the applicable network zone under the “Reverse Lookup Zones” for a PTR record for the linux client.
On the DHCP server:
Check “Address Leases” under the applicable scope