Re: firewall zone for localhost

Marco Moock <[email protected]> Tue, 21 Jul 2026 08:09:53 +0200
Newsgroups gmane.linux.redhat.fedora.general
Message-ID <[email protected]>
Am 21.07.26 um 06:52 schrieb Tim via users:
> There's another issue that often popped up with Fedora in the past, not
> sure about now.  People would often add the local hostname to the
> 127.0.0.1 line in the /etc/hosts file, confusing some aspects of
> networking.

Why?
Some applications need to resolve it. If it is an FQDN that is in the 
global DNS, it will work (it will resolve to the public IP addresses of 
the system), but for anything else it needs these entries or it will 
fail in installations without the myhostname part in nsswitch.conf. This 
is from systemd and not present in some other Linux systems.

hosts:      files myhostname

-- 
Gruß
Marco

Junk-Mail bitte an [email protected]

-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
OpenPGP_signature.asc (application/pgp-signature, 665 B)
-----BEGIN PGP SIGNATURE-----

wsD5BAABCAAjFiEEGHxuJD2s+A3zICvbVZ4aMxpGtGMFAmpfDTEFAwAAAAAACgkQVZ4aMxpGtGMP
Sgv/YOUu+Dy90ZkXhcUpLMX0RpwRYmeSKVgXQTawKUL19EUh4wOjtRz+lhEGuk6xXwxrpFOaIkVj
04v+CdXYGAcl2Ej52fiEKFS6vO5vNLA6HqjTYmT8fzWsmIL0Nev4UqtNZZl088yfVW7QfT+ebyKV
oiLQkmpN5kyxJTg6Hd5oU1+BDbVn2x5Tmm8CJKzLYF9lPBS+RdmgJCazAz1AGQvN9wxhoHNR4RsZ
MuMsgCnp8My8lfkjRxuuQ5crv3GXJku1Jp4EauYeiYlelf07KAuFzkFHGVz6e9DcNUqiADTGjHmE
G61imDJGKoM6u006r8kdt/jS9pdYAxcyivQPy8DKuJZ1odrgEOh9ZEV409QqAfj/T57syBYO1O94
eK7STPMTyPyraZJ75yOLdGut9PpqDr7GybiIFOCYyDRtjAd6vCFkQmt+sKW2CtVfpY5CxxosUaFF
9CzPzlktAvU77EyuwAbabi1719MO4jsxYsJbCdyID9wp0E1ODTO0Spi+klQW
=eUei
-----END PGP SIGNATURE-----