[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2018-04-19 Thread uDude
I vote that this bug be closed based on #32, dnsmasq is fully controllable. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/993298 Title: Please make NetworkManager-controlled

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2018-04-19 Thread Michael Kyle
I found a solution on stackoverflow thanks to @kbenoit there. https://askubuntu.com/questions/117899/configure-networkmanagers- dnsmasq-to-use-etc-hosts This is not really a bug at all. You just have to configure stuff under /etc/NetworkManager/dnsmasq.d instead, e.g., # echo "addn-hosts=/e

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2018-02-16 Thread L-reimann
+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/][

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2018-01-14 Thread macone
+1 Affects me. Tooks me some time to dig and find out the solution. It's really bad user experience. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/993298 Title: Please make N

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2016-08-24 Thread Kim Scarborough
At the very least there could be a "dnsmasq_options" entry in NetworkManager.conf that could override the default options that NetworkManager calls dnsmasq with. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. h

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2016-01-27 Thread Gerard Weatherby
Pointlessly aggravating to break something that long term linux users have relied on for years. At a minimum, a comment in the default /etc/hosts would be useful. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu.

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2015-11-06 Thread god
Much better solution would be adding wildcards support directly to /etc/hosts. Or at least to systemd-resolved. There is even RFE for the latter: https://github.com/systemd/systemd/issues/766 Having dns server running just to add wildcards is really an overkill. Systemd-resolved is much better su

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2015-08-12 Thread Shahar Or
I should have written more in my previous message. Having a local lightweight DNS server configured by default, even if it does not respect `/etc/hosts`, may be seen as an opportunity. Don't force it to use `/etc/hosts`. Just configure it by adding to `/etc/NetworkManager/dnsmasq.d`. This means w

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2015-08-10 Thread Shahar Or
Here is different way: http://stackoverflow.com/q/31735832/359072 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/993298 Title: Please make NetworkManager-controlled dnsmasq re

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2015-05-07 Thread Greg Bell
There is a hack-ish workaround, yet it reminds me of the good ol' days of Linux when you could actually control things from simple text files: See Method 1 at https://gist.github.com/magnetikonline/6236150 Between NetworkManager, resolvconf, Bonjour, mDNS, dnsmasq (and I think even dbus)... t

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2015-04-05 Thread d3ngar
WTF? How come this is still an issue for over so many years? I can actually see that dnsmasq is getting started with the parameters to ignore the hosts file. This should be fixed, so people can set-up their networking again! -- You received this bug notification because you are a member of Deskto

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2015-02-05 Thread Sonia Hamilton
+1 affects me. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/993298 Title: Please make NetworkManager-controlled dnsmasq respect /etc/hosts Status in network-manager package

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2015-02-03 Thread Greg Bell
Affects me. Ubuntu 14.04. dig -x 192.168.1.101 takes a long time to not come up with an answer. And that's because it's defined in /etc/hosts. lsof -i and tcpdump are two programs that can do do reverse-DNS lookups, and ignoring /etc/hosts means they take way longer than they normally would. H

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2014-08-27 Thread Shahar Or
@d1663m, Perhaps Firefox keeps some cache. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/993298 Title: Please make NetworkManager-controlled dnsmasq respect /etc/hosts Statu

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2014-08-27 Thread d1663m
Ubuntu 14.04 - Firefox browser refuses to obey /etc/hosts I have an entry in /etc/hosts pointing to a public internet IP which doesn't already have a DNS hostname associated. Following advice from this post: http://askubuntu.com/questions/117899 /configure-dnsmasq-to-use-etc-hosts-file I added/e

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2014-04-21 Thread Fastguy
OK, I managed to send a dbus signal to set specific dns for a specific domain but this signal went to the initial dnsmasq started when system booted up. So the dnsmasq started by the wifi sharing connection has no dbus interface and it doesn't read the /etc/hosts. It has totally static hardcoded

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2014-04-21 Thread Fastguy
I'm on Ubuntu 14.04. This is affecting me. I'm sharing my wifi connection. The problem is that there's a server that has to be queried from a DNS outside of my normal one, but since dnsmasq is using default DNS servers set by dhcp, the devices behind this shared wifi connection can't connect to

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2014-03-19 Thread Twisted Lucidity
Has this now been resolved? Because it appears to be working without any of the hack mentioned in askubuntu. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/993298 Title: Plea

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2012-12-15 Thread lengzhen
** Changed in: network-manager (Ubuntu) Status: Opinion => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/993298 Title: Please make NetworkManager-controlled

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2012-12-10 Thread Gary Edwards
I just did a fresh install on 2 laptops that were working fine with version 12.04. Both laptops have this issue with version 12.10. I've tried commenting out dns=dnsmasq in /etc/NetworkManager/NetworkManager.conf and creating a wrapper script for dnsmasq that removes the --no-hosts option. Neith

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2012-11-05 Thread Adrian Robert
It's great that /etc/hosts is still consulted by ordinary lookups originating from the Ubuntu system, but the hardcoded removal of /etc/hosts use from dnsmasq config causes other problems, for example if you want this system to provide DNS services for other machines, for example even VMs running i

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2012-08-25 Thread marc...@gmail.com
Well, my system is a fresh install were I just preserved my home directory and the 1.2.3.4 foo doesn't works. The nsswitch.conf does have the 'files' on the hosts: entry. So, I must assume that either: 1) My system install was broken someway OR 2) There is some config file on user's home which ca

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2012-07-20 Thread Christian
I removed my comment, because I found out that there was a mistake in my Kerberos config. I couldn't figure it out because the ping doesn't work in my case because the companies firewall doesn't allow it. Its better to use something like traceroute in this case. But sometimes one cannot see thin

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2012-07-18 Thread Thomas Hood
jerico wrote: > I've got no instance of dnsmasq running and entries > in /etc/hosts are respected when e.g. letting Firefox > (or any other application I've access to) resolve URLs. Yes, that is because the libc resolver consults /etc/hosts without doing a DNS lookup. > AFAIK /etc/hosts is in not

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2012-07-18 Thread Thomas Hood
Argh, I wrote "But prior to Ubuntu 12.04, NM didn't start a local nameserver at all; no DNS lookups were done externally and /etc/hosts wasn't respected then either." There's a typo in there. I meant to say: But prior to Ubuntu 12.04, NM didn't start a local nameserver at all; DNS lookups we

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2012-07-17 Thread jerico
The previous poster wrote: "But prior to Ubuntu 12.04, NM didn't start a local nameserver at all; no DNS lookups were done externally and /etc/hosts wasn't respected then either." IMO this is not true. I've got no instance of dnsmasq running and entries in /etc/hosts are respected when e.g. lettin

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2012-07-17 Thread Thomas Hood
Contributors have claimed here (bug #993298) above that /etc/hosts is no longer respected, but that is not the case. As always, with hosts: files [...] in /etc/nsswitch.conf, the libc resolver consults /etc/hosts first. Yes, NM runs dnsmasq with the no-hosts option. Consequently a

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2012-07-17 Thread Thomas Hood
@Christian: Can you explain how everything was configured when it worked? Were you using dnsmasq locally? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/993298 Title: Please

[Desktop-packages] [Bug 993298] Re: Please make NetworkManager-controlled dnsmasq respect /etc/hosts

2012-07-17 Thread Thomas Hood
** Summary changed: - NetworkManager-controlled dnsmasq does not respect /etc/hosts + Please make NetworkManager-controlled dnsmasq respect /etc/hosts -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bug