Comment 17 for bug 993298

Revision history for this message
Fastguy (erenoglu) wrote :

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 that specific server.
 I need to add a line to dnsmasq configuration, such as
server=/this.specific.server/specific.dns.ip
I found no way to do it and even trying to send a message with dbus did not work (for me). Probably I could not sort it out.

I have the specific server ip hardcoded in the /etc/hosts file. If dnsmasq respected the /etc/hosts file, then the hosts behind the shared wifi connection could have obtained the right ip address for the server.

It's very strange to hardcode dnsmasq parameters into the C code rather than leaving it out to some configuration file.