dnsmasq ignores (more like doesn't look for) the ipv6 USE flag. Having "-ipv6" in USE does not affect the way it is built. Reproducible: Always Steps to Reproduce: 1. USE="-ipv6" emerge dnsmasq (It can be done 100 ways. This is just an in your face example) 2. /etc/init.d/dnsmasq start 3. grep dnsmasq /var/log/messages | grep IPv6 Actual Results: You will notice the following: Feb 20 07:28:48 MyMachine dnsmasq[5134]: compile time options: IPv6 GNU-getopt no-ISC-leasefile no-DBus no-I18N no-TFTP Expected Results: It should have been: Feb 20 07:28:48 MyMachine dnsmasq[5134]: compile time options: no-IPv6 GNU-getopt no-ISC-leasefile no-DBus no-I18N no-TFTP I am able to compile dnsmasq without ipv6 support by running the following: COPTS+="-DNO_IPV6" emerge dnsmasq It took me quite a while to figure out why dnsmasq wasn't responding properly. Once ipv6 support was removed (I didn't have it enabled in the kernel or any other software that I am aware of) everything worked fine.
Fixed in net-dns/dnsmasq-2.41