On Friday 19 March 2004 21:50, Craig White wrote:
> actually, sorry to take issue with your reply but ".localdomain" is for
> your purposes a domain - the same as any other except that it is what is
> provided for 'standard' out of the box. Even taking your computer to
> another office / lan setting is not material since you will not have any
> problems accessing resources simply because you have assigned a FQDN to
> the hostname function... localhost.localdomain is a fqdn, albeit
> entirely generic.
Thanks for this, and the other, clarifications. I'm still trying to
understand just what's going on. Let me see if I can recap this.
1) The local system needs to know both its hostname and its domain (both of
which compose the fully-qualified domain name).
2) The /etc/hosts file needs to contain the local system's name in its
fully-qualified form (I haven't tried this with ONLY the fully-qualified
name: I've only done the opposite).
3) The hostname portion may be changed via the hostname command but that
change is lost when the system is rebooted.
And 4) [and this is where things get a little mushy in my mind],
".localdomain" is automatically supplied as the domain name when it is
otherwise missing, and should, therefore, be added (by hand) to /etc/hosts in
those situations.
How's that?
A related question is where *should* the domain name be defined? I've
been told by others that it should *not* appear in the HOSTNAME=xxxxx line in
/etc/sysconfig/network but I don't know why.
--
Ed Skinner,
ed@flat5.net,
http://www.flat5.net/
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss