+1 Also affects me. Took me quite some time to find this bug report.
Very unusual behavior.

Using a hosts.conf in /etc/NetworkManager/dnsmasq.d with the content is not 
able to simulate multiple IP addresses for one FQDN:
address=/admin.app/127.0.0.1

>From the manpage: 
-A, --address=/<domain>/[domain/][<ipaddr>]

Specify  an  IP address to return for any host in the given domains.
Queries in the domains are never forwarded and always replied to with
the specified IP address which may be IPv4 or IPv6. To give both IPv4
and IPv6 addresses for a domain, use repeated -A flags.  Note that
/etc/hosts and DHCP leases override this for individual names.

This is untrue if the --no-hosts is forced upon us. Also I do not like
to restart services to modify a host entry.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/993298

Title:
  Please make NetworkManager-controlled dnsmasq respect /etc/hosts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/993298/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to