<div dir="ltr"><div style>I have an Ubuntu 12.04 server with dnsmasq serving dns lookups and dhcp addresses.  It works 100% for the Linux machines that connect to it, but a Windows 7 machine is not able to look up dns for most domains.</div>

<div style><br></div><div style>My config files contain:</div><div style><br></div><div style><div>$ sudo egrep -vr "^$|^#" /etc/dnsmasq*</div><div>/etc/dnsmasq.conf:interface=br0</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:port=53</div>

<div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:log-dhcp</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:log-queries</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:tftp-root=/var/lib/tftpboot</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-boot=/ltsp/i386/pxelinux.0</div>

<div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-option=17,/opt/ltsp/i386</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-no-override</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:pxe-prompt="Press F8 for boot menu", 3</div>

<div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:pxe-service=X86PC, "Boot from network", /ltsp/i386/pxelinux</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:pxe-service=X86PC, "Boot from local hard disk", 0</div>

<div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-range=192.168.8.101,192.168.8.150,255.255.255.0,12h</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-host=44:4d:50:02:ed:ee,192.168.8.101,appollis-tc,infinite</div>
<div>
/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-host=00:00:00:00:00:00,192.168.8.102,betsie-tc,infinite</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-host=00:1b:eb:59:28:1b,192.168.8.103,rozanne-tc,infinite</div><div>

/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-host=00:1b:eb:59:28:27,192.168.8.104,muneerah-tc,infinite</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-host=44:4d:50:02:ed:ed,192.168.8.105,mona-tc,infinite</div><div>

/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-host=00:1b:eb:59:28:19,192.168.8.106,alta-tc,infinite</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-host=00:1b:eb:49:59:50,192.168.8.107,wendy-tc,infinite</div><div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-host=52:54:00:af:ad:96,192.168.8.111,test-tc,infinite</div>

<div>/etc/dnsmasq.d/ltsp-server-dnsmasq.conf:dhcp-option=252,"\n"</div><div>/etc/dnsmasq.d/libvirt-bin:bind-interfaces</div><div>/etc/dnsmasq.d/libvirt-bin:except-interface=virbr0</div><div><br></div><div style>

As can be seen, I have enabled logging of queries.  Here are the last few lines of /var/log/syslog wrt dnsmasq entries when a web site is accessed from the windows machine:</div><div style><br></div><div style><div>Jun 12 13:14:34 zambas dnsmasq[10820]: query[A] <a href="http://www.google.com">www.google.com</a> from 172.16.1.3</div>

<div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.59</div><div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.55</div>

<div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.54</div><div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.50</div>

<div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.49</div><div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.45</div>

<div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.44</div><div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.40</div>

<div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.39</div><div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.35</div>

<div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.34</div><div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.30</div>

<div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.29</div><div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.25</div>

<div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.24</div><div>Jun 12 13:14:34 zambas dnsmasq[10820]: cached <a href="http://www.google.com">www.google.com</a> is 197.84.128.20</div>

<div><br></div><div style>This is the only domain that the Windows 7 machine can lookup.</div><div style><br></div><div style>All other result in domain not found in the browser.  This it the case for both Firefox and IE.</div>

<div style><br></div><div style>However, doing an nslookup works fine, as well as a ping.</div><div style><br></div><div style>The dns is set correctly and the machine also gets it's ip address from dnsmasq.</div><div style>

<br></div><div style>What could be preventing the windows webbrowsers from getting dns lookups done?</div><div style><br></div><div style>regards</div></div><div><br></div></div><div>Roland Giesler<br><br></div>
</div>