Disable dhcp service in dnsmasq

Solution 1:

dnsmasq has dhcp server disabled by default. To enable it you have to uncomment dhcp-related lines in /etc/dnsmasq.conf

to forward all requests to it's sufficient to add (without touching dnsmasq config) in /etc/resolv.conf:

# In order to configure dnsmasq to act as cache for the host on which  it
# is  running, put [as the first line] "nameserver" in /etc/resolv.conf to force
# local processes to send queries to dnsmasq. [...]
# dnsmasq is smart enough to ignore this line and forward all queries appropriately, 
# while all other applications will send all their queries to dnsmasq. 

That's it :)

Solution 2:

Just comment out the dhcp-related lines in your dnsmasq.conf file and then restart dnsmasq.