On Wed, Apr 02, 2025 at 22:28:24 -0500, David Wright wrote:
> 127.0.1.1 coyote.coyote.den coyote
> [...]
> I don't see the point in leaving it there. If you want to send
> something to coyote.coyote.den, why do you want the LAN address
> when 127.0.1.1 is just as good. If the line is correct, it does
> nothing; if it's incorrect, it can cause harm.

I disagree with you here.  The 127.0.1.1 address is a placeholder put
there by the installer for the more common case where a machine doesn't
have a fixed LAN IP address.  Most home or workplace computers these
days will get their addresses from DHCP without a reservation, so their
internal addresses may vary.

127.0.1.1 is used when a fixed LAN IP address isn't available.  But if
a fixed LAN IP address *is* assigned, that should be used instead.

In Gene's case, where all the addressing is manually assigned and static,
using the traditional approach (192.168.x.y coyote.coyote.den coyote)
is actually preferred.  It allows a single /etc/hosts file to be
copied across all computers on the LAN without needing to modify it
on each host.

Reply via email to