Comment 31 for bug 993298

Revision history for this message
L-reimann (l-reimann) wrote :

+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.