[101869] in RedHat Linux List
Home networking
daemon@ATHENA.MIT.EDU (Bruce Richardson)
Mon Nov 30 02:45:00 1998
From: Bruce Richardson <brichardson@lineone.net>
To: "'redhat-list@redhat.com'" <redhat-list@redhat.com>
Date: Mon, 30 Nov 1998 07:42:48 -0000
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
I decided to call my little home-linux-network bruce.net (OK, I only have
one PC at the moment but I'm about to connect an old 486). I quickly
discovered that messing with hostnames disabled things like lpd and
sendmail (sendmail hung on startup so I had to log in single user to put
things right). So right now I have the following settings
in /etc/HOSTNAME
----------------------
alpha.bruce.net
----------------------
in /etc/hosts
----------------------
127.0.0.1 alpha.bruce.net alpha.bruce.net
----------------------
Now, I know this is not exactly right (the nickname in hosts should just be
alpha?) but is any software going to puke because it can't find a
'localhost'? Should I just bite the bullet, assign myself a class A
address and put in IP masquerading? If I do that, should hosts read as
follows?
-----------------------
127.0.0.1 localhost.localdomain localhost
<classA_IP> alpha.bruce.net alpha
-----------------------
Or should it be localhost.bruce.net?
I have 'search lineone.net' for my lSP in /etc/resolv.conf: should I put in
a 'domain' line and should that be 'bruce.net' or 'lineone.net'?
Before anyone points out that my current set-up will cause problems for
sendmail with bounced e-mails etc, I know. I haven't set up e-mail yet,
I'm doing things one step at a time so that I know what I'm doing
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.