Thoughts on dhcp-client automatically determining the hostname?

Olaf van der Spek olafvdspek at gmail.com
Mon Feb 11 19:18:00 UTC 2008


On Feb 11, 2008 6:49 PM, David W. Hankins <David_Hankins at isc.org> wrote:
> On Mon, Feb 11, 2008 at 05:50:38PM +0100, Olaf van der Spek wrote:
> > I agree. Are there plans to implement it?
>
> it's not as easy as doing the hostname() built-in function, so there
> are no plans for a pipe-like thing i'm aware of.

Given that exec is already implemented, wouldn't it be quite simple to
extend this code to also support stdout?
And are there plans for the hostname() built-in function?

> > It'd still be nice if the host name was send by default though. What
> > are the disadvantages of doing that?
>
> it's essentially a leakage of privacy information, so i'm
> uncomfortable with making that decision in the code.  this is the sort
> of thing that should be decided in integrating the dhclient into an
> OS; who is your user and what do they expect?

But some Linux distributions would prefer not to deviate from upstream
(too much).

Olaf


More information about the dhcp-users mailing list