Re: [Dnsmasq-discuss] /etc/hosts query
/etc/hosts on my dnsmasq server looked something like this: 127.0.0.1 localhost Shuttle 192.168.1.4 Shuttle shuttle dnsmasq reads your hosts file and gives it to other machines on the network... verbatim. It was acting as it was supposed to. Your fix was the proper solution, just as the original behavior is what is to be expected. I thought that the hosts file was as created by the installer originally (ubuntu 9.04 I think), but it's entirely possible I messed it up somewhere along the line :) Thanks Steve
Re: [Dnsmasq-discuss] /etc/hosts query
/etc/hosts on my dnsmasq server looked something like this: 127.0.0.1 localhost Shuttle 192.168.1.4 Shuttle shuttle Your /etc/hosts does look odd to me, but if there's a reason to have it like that, you might like to look at the localise-queries dnsmasq option, which will make dnsmasq's replies rather more sane in this situation. Seems to be a common opinion about the hosts file :) I've added the localise-queries option too, in case I break the hosts file again. Thanks Steve
Re: [Dnsmasq-discuss] /etc/hosts query
Steve wrote: 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.4Shuttle 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 Your /etc/hosts does look odd to me, but if there's a reason to have it like that, you might like to look at the localise-queries dnsmasq option, which will make dnsmasq's replies rather more sane in this situation. Cheers, Simon.