Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #269538
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Address 127.0.1.1 |
| Date | 2024-05-24 19:50 +0200 |
| Message-ID | <IHHdf-fxU2-3@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, May 24, 2024 at 01:40:38PM -0400, Jeffrey Walton wrote: > On Fri, May 24, 2024 at 11:13 AM Paul M Foster <paulf@quillandmouse.com> wrote: > > 192.168.254.30 yosemite.mars.lan yosemite > 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'. I don't know why you would expect that. What purpose would that serve? The goal here is for programs to be able to look up "the IP address" that belongs to $HOSTNAME. If the hostname is "yosemite", then "yosemite" must appear in the /etc/hosts file as an alias for whatever made-up FQDN is being used. This is what Paul has. What Paul has looks quite reasonable to me. If 192.168.254.30 is in fact bound to an ethernet interface by a static configuration (e.g. /etc/network/interfaces) then I would also say it looks correct. > Also, fqdn's end in dot '.' to denote the top of the dns tree. Not in the /etc/hosts file, they don't. You may be thinking of BIND configuration files. I've never IN MY LIFE seen trailing dots on hostnames in /etc/hosts.
Back to linux.debian.user | Previous | Next — Previous in thread | Next 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