dnsmasq
- is a lightweight, easy to configure DNS forwarder, designed to provide DNS (and optionally DHCP and TFTP) services to a small-scale network
- it can serve the names of local machines which are not in the global DNS
Features
- DHCP
- DNS and DNS caching
- Trivial File Transfer Protocol (TFTP)
Installation
homebrew
1. install dnsmasq
brew install dnsmasq2. verify dnsmasq was installed
which dnsmasq3. To configure dnsmasq, copy the example configuration to /usr/local/etc/dnsmasq.conf and edit to taste
cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf4. To have launchd start dnsmasq now and restart at startup
sudo brew services start dnsmasq
apt-get
1. install dnsmasq
apt-get install dnsmasq2. verify dnsmasq was installed
which dnsmasq