I need to set up a Linux computer so that it uses DHCP but doesn't send any hostname at all.
- I'm using
isc-dhclient-4.2.4
/etc/dhcp/dhclient.conf
contains the linesend host-name = gethostname();
I've tried commenting out that line and restarting. I've also tried changing it to send host-name = ;
and restarting. In both cases, Wireshark shows that it's still sending its hostname in a DHCP request.
How do I get it to stop sending a hostname?