[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Address 127.0.1.1



Paul M Foster wrote: 
> Folks:
> 
> In my /etc/hosts file, there's a line:
> 
> 127.0.1.1 yosemite.mars.lan yosemite
> 
> I think Debian put it there.
> 
> Later in the file, I've got:
> 
> 192.168.254.30  yosemite.mars.lan   yosemite
> 
> So there are two entries for the same (my) machine. Is this a problem?
> Specifically, could it cause problems with email (Exim4 or OpenSMTPD)?

Technically possible, but unlikely. If you had exim or opensmtpd
configured to only bind to the 192.168 address, and not the
localhost address, then you might manage to run into an issue.

As long as the 192.168 address is correct, you can replace
127.0.1.1 to refer to 'localhost' alone.

-dsr-


Reply to: