Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Notifications email failure - SOLVED

Notifications email failure - SOLVED

2005-09-08       - By Ed Wilts

 Back
Reply:     1     2     3     4     5  

On Thu, Sep 08, 2005 at 11:05:34AM -0700, Roger Pe???a Escobio wrote:
> --- Garrick Staples <garrick@(protected)> wrote:
>
> > On Thu, Sep 08, 2005 at 09:11:31AM -0700, Jeff Boyce alleged:
> > > This is a two part solution.  First I changed my
> > /etc/hosts file by adding bison to the local host line, which now reads:
> > > 127.0.0.1     bison localhost.localdomain    localhost
> >
> > Ooo, that's probably going to break something else.  You want
> > localhost to have matching forward and reverse name lookups.
> >
> > I've always disagreed with Red Hat's convention of "127.0.0.1
> > localhost.localdomain localhost" and always change it to "127.0.0.1
> > localhost localhost.localdomain".  Putting your hostname at the end
> > of the 127.0.0.1 line is acceptable, but putting in at the beginning
> > is a ticking bomb.
> >
> I am sorry my ignorance but why?
>
> I always follow the rule of first the fully qualify hostname then the
> alias of that host sometimes I have more than one line with the same
> IP number but different hostnames

This is correct.  Always put the fully qualified host name first, then
the aliases.  When you type 'hostname', you should get the fully
qualified host name, not the short name.  The line should read:

127.0.0.1 bison.example.com bison localhost localhost.localdomain

or break it up into the more proper:

127.0.0.1 localhost localhost.localdomain
1.2.3.4   bison.example.com bison

with the host's IP address pointing to the fully qualified name,
assuming that the domain is example.com of course.

> now it looks that I am wrong so I just want to know why :-)

You're not wrong.

       .../Ed

--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts@(protected)
Member #1, Red Hat Community Ambassador Program

--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list

Earn $52 per hosting referral at Lunarpages.