Subject: Re: dhclient & hostname interactions
To: George Michaelson <email@example.com>
From: Luke Mewburn <firstname.lastname@example.org>
Date: 04/07/2003 13:27:49
On Mon, Apr 07, 2003 at 01:21:38PM +1000, George Michaelson wrote:
| I have /etc/myname defining my hostname.
| but from the behaviours I see moving from cable at home, IETF and
| office, dhclient overrides hostname.
| sleep mode re-wakeup causes re-calls of dhclient on all interfaces
| sin the live et. which also seems to make sendmail and related
| sname-bound daemons go barfo.
| is this possibly why although I think I have FQDN in my hostname, I
| find that at reboot I am getting sendmail hangs "can't find my name"
| Is there a way to make dhclient respect the wired-in name of the
| host, but still do interface (re)configs?
| just because a server tells me a name, it doesn't mean I want to use
In /etc/dhclient.conf, add:
supersede host-name "my-desired-host-name";