I was setting up a server as in the below link https://help.ubuntu.com/community/Dnsmasq
root@user-desktop:/etc/init.d# sudo apt-get install dnsmasq Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: dnsmasq 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/15.4 kB of archives. After this operation, 120 kB of additional disk space will be used. Selecting previously unselected package dnsmasq. (Reading database ... 146283 files and directories currently installed.) Unpacking dnsmasq (from .../dnsmasq_2.59-4_all.deb) ... Processing triggers for ureadahead ... Setting up dnsmasq (2.59-4) ... * Starting DNS forwarder and DHCP server dnsmasq dnsmasq: failed to create listening socket for port 53: Address already in use [fail] invoke-rc.d: initscript dnsmasq, action "start" failed.