0

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 line send 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?

2
  • 1
    Why would you go out of your way not to send a hostname?
    – ErikE
    Nov 24, 2013 at 18:32
  • Are you sure the problem is the hostname and not the FQDN (fully-qualified domain name)? Can we see the wireshark output? Are you 100% sure it's a hostname that appears in it and not a FQDN? Nov 25, 2013 at 0:22

0

You must log in to answer this question.

Browse other questions tagged .