Skip to content

dnsmasq

Created: 2016-03-04 14:36:33 -0800 Modified: 2016-03-04 14:37:48 -0800

  • sudo apt-get install dnsmasq
  • It will automatically start up and take up port 53 (DNS). To verify this, type “sudo netstat -tulnp”

I didn’t really end up doing anything with the program, but you can edit /etc/dnsmasq.conf to set your DHCP lease range (e.g. 10.0.0.1, 10.0.0.150, 12h). Then, you could set it up to use /etc/hosts as your DNS.