[Dnsmasq-discuss] /etc/hosts query
Steve
dnsmasq at sproot.org
Thu Jan 27 03:40:20 GMT 2011
Not a problem, just a query, /etc/hosts on my dnsmasq server looked
something like this:
127.0.0.1 localhost Shuttle
192.168.1.4 Shuttle shuttle
When a client queried 'Shuttle' dnsmasq returned 127.0.0.1.
I've changed the hosts file:
127.0.0.1 localhost
192.168.1.4 Shuttle shuttle
and now it works as expected (returns 192.168.1.4)
Was my hosts file wrong or have I missed something in the config? It
seems to me that a response of 127.0.0.1 is always going to be wrong.
Cheers
Steve
More information about the Dnsmasq-discuss
mailing list