This bug looks close but if it's not completely the same. tell me and I'll open a new bug.
In my case eth0 is manually defined and N-M modifies the host in the following way
192.168.0.3 black # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost
::1 black localhost6.localdomain6 localhost6
The last line is systematically added. That's problematic because this is a local dns based on DNSMasq which relies on /etc/hosts and resolving the name of the DNS must return its external IP not the IPv6 loopback address.
If I manually remove 'black' from the IPv6 line, it is readded sometime later.
This bug looks close but if it's not completely the same. tell me and I'll open a new bug.
In my case eth0 is manually defined and N-M modifies the host in the following way localdomain localhost localdomain6 localhost6
192.168.0.3 black # Added by NetworkManager
127.0.0.1 localhost.
::1 black localhost6.
The last line is systematically added. That's problematic because this is a local dns based on DNSMasq which relies on /etc/hosts and resolving the name of the DNS must return its external IP not the IPv6 loopback address.
If I manually remove 'black' from the IPv6 line, it is readded sometime later.