I'm 99% sure this is due to me not doing something right, but seeing as nobody on ubuntuforums ( <a href="http://ubuntuforums.org/showthread.php?p=9504944">http://ubuntuforums.org/showthread.php?p=9504944</a> ) was able to help me, I wanted to ask here for help. <br>
<br>My config is:<br># /etc/dnsmasq.conf<br><br>domain-needed<br>bogus-priv<br>address=/<a href="http://doubleclick.net/127.0.0.1">doubleclick.net/127.0.0.1</a><br>except-interface=eth0<br>dhcp-range=interface:eth1,192.168.1.10,192.168.1.127,12h<br>
dhcp-range=interface:eth2,192.168.2.10,192.168.2.127,12h<br>log-queries<br><br>(eth0 is lan card toward ADSL router, eth1 is lan card toward wireless AP, and eth2 is lan card toward wired switch)<br><br>Every time I start dnsmasq I get "failed to bind DHCP server socket: Address already in use". Googling this error for dnsmasq prompted me to run "netstat -antuevp" (and netstat with various other parameters) as well as "lsof -i" and I always got only portmap, rpc.statd, smbd, sshd, mysqld, named, samba and apache2 in the list of programs. I used to have dhcpd but I did remove it.<br>
<br>Thanks for any help you might be able to give.<br>