[Dnsmasq-discuss] Bad Host Request error when using dnsmaq to resolve hostnames on a browser

Tom Metro tmetro+dnsmasq at gmail.com
Fri Apr 10 23:21:54 BST 2009


Grant D. Vallance wrote:
> /etc/dnsmasq.conf is what ships with dnsmasq with the following 
> uncomments, alterations:
> 
> bogus-priv
> expand-hosts
> domain=home.abapere.com
> dhcp-range=192.168.0.200,192.168.0.205,12h

You're missing:

# Add local-only domains here, queries in these domains are answered
# from /etc/hosts or DHCP only.
local=/home.abapere.com/


Though I'm not sure why your nslookup/ping tests succeeded without it.


> Address:      192.168.20
> Address:      192.168.111

Lost some zeros there?


> Why would everything work using command line tools like nslookup and 
> ping but not with the browser?

What does ifconfig/ipconfig report for name serves on the client machines?

  -Tom

-- 
Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/



More information about the Dnsmasq-discuss mailing list