Thoughts on dhcp-client automatically determining the hostname?
David W. Hankins
David_Hankins at isc.org
Wed Jan 23 16:18:37 UTC 2008
On Wed, Jan 23, 2008 at 10:53:59PM +1100, Glenn Satchell wrote:
> Would this work?
> send host-name = execute("uname", "-n");
the execute() patch we integrated returns a numerical value, the
command's exit() status code.
that's not a bad point tho; a 'pipe()' command would be very generic.
you could also use it to send a vendor-class-identifier that lists the
OS and version info (without hardcoding it in dhclient.conf again).
very handy thing to see in DHCP if you have lots of boxes running on
a campus, but again a leakage of identifying info.
Ash bugud-gul durbatuluk agh burzum-ishi krimpatul.
Why settle for the lesser evil? https://secure.isc.org/store/t-shirt/
David W. Hankins "If you don't do it right the first time,
Software Engineer you'll just have to do it again."
Internet Systems Consortium, Inc. -- Jack T. Hankins
More information about the dhcp-users