<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Thanks for the response.&nbsp; I still can't get dnsmasq to respond as desired when resolving a local name from a Windows box.&nbsp; I would like to map my computers' names to their IP addresses in my dnsmasq server's /etc/hosts file and then be able to access them through the web by typing the plain name in to the web browser instead of typing the IP address.&nbsp; For example, in /etc/hosts I have <br><br>192.168.1.123&nbsp;&nbsp;  gerbil<br><br>I would like to type "gerbil" into the address bar of Firefox on my XP machine and access the gerbil web server. The only way that I have been able to work around the current problems is to put the following text in my /etc/hosts file<br>192.168.1.123 gerbil.com<br><br>When I type gerbil.com in my browser address window, the gerbil default web page is accessible.&nbsp; I would rather not have to always type the .com after each machine name.&nbsp; Is there a way to configure dnsmasq to work with Windows as described?<br><br>Right now I am forcing a ".com" at the end of DNS queries by using the command "search com" in /etc/resolv.conf.&nbsp; I also have expand-hosts and domain-com in my /etc/dnsmasq.conf file to force a ".com" to the ends of the /etc/hosts entries.<br><br>I think this is a Windows XP issue and and not a Firefox issue because I get an error message when trying to ping gerbil from the command line on the XP box.&nbsp; "Ping request could not find host gerbil.&nbsp; Please check the name and try again."<br><br>Thanks.<br><br><br>&gt; Date: Wed, 2 Jul 2008 19:07:18 -0700<br>&gt; From: gypsy@iswest.com<br>&gt; To: dnsmasq-discuss@thekelleys.org.uk<br>&gt; CC: rtylerdunn@hotmail.com<br>&gt; Subject: Re: [Dnsmasq-discuss] dnsmasq not answering other LAN computers<br>&gt; <br>&gt; Tyler Dunn wrote:<br>&gt; &gt; <br>&gt; &gt; I set up dnsmasq on a Ubuntu server and it appears to be working<br>&gt; &gt; locally  (will resolve hostnames, using dig I see that the machine is<br>&gt; &gt; caching properly).  However, I'm not getting the response that I<br>&gt; &gt; expected from other machines on the LAN.  From another Linux box<br>&gt; &gt; (Centos), I put the dnsmasq IP address in the /etc/resolv.conf file,<br>&gt; &gt; but a ping command returns an error and a host command works<br>&gt; &gt; properly.  (gerbil is a local machine listed in the dnsmasq server's<br>&gt; &gt; /etc/hosts file.)  The host command didn't work either until I<br>&gt; &gt; commented out the listen-address=127.0.0.1 line in /etc/dnsmasq.conf.<br>&gt; &gt; <br>&gt; &gt; root@pbx:~ $ ping gerbil<br>&gt; &gt; ping: unknown host gerbil<br>&gt; &gt; root@pbx:~ $ host gerbil<br>&gt; &gt; gerbil has address 192.168.1.112<br>&gt; &gt; root@pbx:~ $<br>&gt; &gt; <br>&gt; &gt; Also, when I set the DNS server on gerbil to the dnsmasq server's IP<br>&gt; &gt; address (192.168.1.121), it wouldn't return anything when I pinged<br>&gt; &gt; gerbil (or www.yahoo.com for that matter).  It also wouldn't resolve<br>&gt; &gt; the names when I put them into a Firefox browser on gerbil.  gerbil is<br>&gt; &gt; a win XP machine and I set the DNS server in the Network control<br>&gt; &gt; panel.<br>&gt; &gt; <br>&gt; &gt; My dnsmasq.conf file only has two lines uncommented:<br>&gt; &gt; server=/localnet/192.168.0.1<br>&gt; <br>&gt; Is this a typo?  That is surely NOT your local network.<br>&gt; <br>&gt; Why not try this on the DNSMasq machine?:<br>&gt; resolv.conf<br>&gt; search YOURDOMAIN.TLD<br>&gt; nameserver 127.0.0.1<br>&gt; <br>&gt; dnsmasq.conf<br>&gt; (remark the two lines above)<br>&gt; domain-needed<br>&gt; log-queries<br>&gt; no-resolv<br>&gt; server=UPSTREAM.DNS.SERVER.IP<br>&gt; <br>&gt; Make sure that works on the DNSMasq machine and then ping yahoo from<br>&gt; gerbil.<br>&gt; <br>&gt; &gt; I would like to get it fixed so that I don't have to type the IP<br>&gt; &gt; address when I access local machines on the LAN.  I don't want to update<br>&gt; &gt; all the hosts file anytime the network changes.<br>&gt; <br>&gt; There is no easy way that I know to be able to use DHCP and still<br>&gt; resolve local machines, but I can't use DNSMasq where I need that<br>&gt; (Windows) so I've never dug into that part.  Perhaps a search of this<br>&gt; mailing list will provide you an answer.<br><br /><hr />Don't get caught with egg on your face. <a href='http://club.live.com/chicktionary.aspx?icid=chick_wlhmtextlink1_feb' target='_new'>Play chicktionary!</a></body>
</html>