On Fri, 2012-05-04 at 13:35 -0700, Victor McAllister wrote: > I have been playing with dnsmasq to see if I can improve the way it > functions on my 3 network wrap box. > here are some of the changes I made to dnsmasq.conf > > domain-needed > > bogus-priv > > I use dhcp-host= to configure each client > ** > > TO prevent windows boxes from filling the daemon log up with attempts to > find nonexistent proxies. > > dhcp-option=252,"\n" > ** > uncomented and increased the cache size > > cache-size=600 > > *** > > Here are some nslookup tests. My Leaf box is shadrach. My isp's primary > dns is ns1.sonic.net > > shadrach# nslookup ns1.sonic.net 127.0.0.1 > server: 127.0.0.1 > address 1: 127.0.0.1 localhost > > name: ns1.sonic.net > address 1: ns1.sonic.net 208.201.224.11 > > **** > from a client windows shell > > >nslookup > server: shadrach > address: 192.168.1.254 > > which indicates it knows dns is on the leaf box. > > >nslookup ns1.sonic.net > server: ns1.sonic.net > address: 208.201.224.11 > > Any suggestions are welcome. > > Victor
Hi Victor, Well, if you will insist on using *Windows* clients... :-} Dnsmasq is caching fine for me, with a broadly similar config, for Linux clients. Caching is turned on by default (for 150 entries). Are you sure your clients don't *also* have ns1.sonic.net defined as a name server, in addition to shadrach? You can check by running "ipconfig /all" and looking at the setting for "DNS Servers". You could also try un-commenting "log queries" in /etc/dnsmasq.conf to check if the query is actually hitting dnsmasq. david ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/