I think *any* rewriting of /etc/hosts by Network Manager (or anything else for that matter) is simply *wrong*.
I have a local DNS server on my LAN which provides everything needed, in particular it provides an FQDN for my system.
Thus my /etc/hosts is:-
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
If Network Manager adds *anything* looking like a domain then it breaks my DNS and various things (like
apache2 and leafnode) complain about not being able to find a domain name for my system.
I think *any* rewriting of /etc/hosts by Network Manager (or anything else for that matter) is simply *wrong*.
I have a local DNS server on my LAN which provides everything needed, in particular it provides an FQDN for my system.
Thus my /etc/hosts is:-
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
If Network Manager adds *anything* looking like a domain then it breaks my DNS and various things (like
apache2 and leafnode) complain about not being able to find a domain name for my system.