[ltp] Getting full hostname from DHCP
Fri, 21 Jun 2002 12:17:46 -0600
On Fri, 21 Jun 2002 09:17:53 -0400
Tod Harter <email@example.com> wrote:
> On Thursday 20 June 2002 18:03, Edi Weitz wrote:
> Well, my answer would be that Gentoo's init subsystem isn't correctly
> structured if its doing network initialization and firing up server processes
> BEFORE it attempts to initialize basic networking functions!
> However, in the case of Apache there is to my knowledge no way to tell it
> "use whatever hostname eth0's IP address maps to at startup". In other words
> somewhere in the Apache config is a line, probably
> Servername your.machine.name
> and thats the name its always going to have.
Unless you just comment that line out . . . That and the line about using
canonical names. lose them, and apache will rely on the resolver to understand
who it is.
You may still need to restart apache, even if you edit your ip-up script so
that it runs "hostname" to set the hostname to the current fqdn.
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at: