Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #269540
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Address 127.0.1.1 |
| Date | 2024-05-24 19:50 +0200 |
| Message-ID | <IHHdf-fxU2-9@gated-at.bofh.it> (permalink) |
| References | <IHBUd-fuUh-3@gated-at.bofh.it> <IHHdf-fxU2-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri 24 May 2024 at 13:40:38 (-0400), Jeffrey Walton wrote: > On Fri, May 24, 2024 at 11:13 AM Paul M Foster <paulf@quillandmouse.com> 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)? > > 127.0.1.1 is traditionally used for the fully qualified domain name > (fqdn). So I would expect to see 'yosemite.mars.lan', but not > 'yosemite'. > > Also, fqdn's end in dot '.' to denote the top of the dns tree. So I > would expect to see 'yosemite.mars.lan.' (note the trailing dot), and > not 'yosemite.mars.lan' (note the lack of the trailing dot). What can > happen with 'yosemite.mars.lan' is, search domains can be added to it. > So if dhcp says 'isp.com' is a search domain, then your network stack > might make requests for 'yosemite.mars.lan.isp.com'. You must have a very unusual hosts file then, on both those counts. I would expect just the 127.0.1.1 line as written, and I'm going to guess that the 192.168.254.30 line was added as a misguided attempt to get LAN mail working. As noted by others, /etc/hosts is not the correct place for that. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
Address 127.0.1.1 Paul M Foster <paulf@quillandmouse.com> - 2024-05-24 14:10 +0200
Re: Address 127.0.1.1 Greg Wooledge <greg@wooledge.org> - 2024-05-24 14:20 +0200
Re: Address 127.0.1.1 Dan Ritter <dsr@randomstring.org> - 2024-05-24 14:40 +0200
Re: Address 127.0.1.1 Marco Moock <mm@dorfdsl.de> - 2024-05-24 16:50 +0200
Re: Address 127.0.1.1 <tomas@tuxteam.de> - 2024-05-24 17:20 +0200
Re: Address 127.0.1.1 <tomas@tuxteam.de> - 2024-05-24 17:30 +0200
Re: Address 127.0.1.1 Marco Moock <mm@dorfdsl.de> - 2024-05-24 17:30 +0200
Re: Address 127.0.1.1 Greg Wooledge <greg@wooledge.org> - 2024-05-24 17:50 +0200
Re: Address 127.0.1.1 Paul M Foster <paulf@quillandmouse.com> - 2024-05-24 18:20 +0200
Re: Address 127.0.1.1 Joe <joe@jretrading.com> - 2024-05-24 18:50 +0200
Re: Address 127.0.1.1 Paul M Foster <paulf@quillandmouse.com> - 2024-05-24 19:20 +0200
Re: Address 127.0.1.1 Andy Smith <andy@strugglers.net> - 2024-05-24 23:40 +0200
Re: Address 127.0.1.1 Greg Wooledge <greg@wooledge.org> - 2024-05-24 19:40 +0200
Re: Address 127.0.1.1 Joe <joe@jretrading.com> - 2024-05-24 18:50 +0200
Re: Address 127.0.1.1 <tomas@tuxteam.de> - 2024-05-24 19:20 +0200
Re: Address 127.0.1.1 Greg Wooledge <greg@wooledge.org> - 2024-05-24 19:50 +0200
Re: Address 127.0.1.1 Jeffrey Walton <noloader@gmail.com> - 2024-05-24 20:00 +0200
Re: Address 127.0.1.1 Greg Wooledge <greg@wooledge.org> - 2024-05-24 20:30 +0200
Re: Address 127.0.1.1 debian-user@howorth.org.uk - 2024-05-24 23:30 +0200
Re: Address 127.0.1.1 Jeffrey Walton <noloader@gmail.com> - 2024-05-24 19:50 +0200
Re: Address 127.0.1.1 David Wright <deblis@lionunicorn.co.uk> - 2024-05-24 19:50 +0200
csiph-web