dnsmasq
- Linux dns server, also great as a dhcp server for the local subnet.
- Has the advanced feature where it can add matched lookup ip's to a ipset that can then be used to firewall certain traffic.
- Problem: 201808 High cpu as dnsmasq and systemd-resolve seem to fight/loop.
- Disable systemd-resolve by editing config and restarting.
echo "DNSStubListener=no" >> /etc/systemd/resolved.conf sudo service systemd-resolved restart
- Disable systemd-resolve by editing config and restarting.
DHCP with dnsmasq
List ip's handed out
$ cat /var/lib/misc/dnsmasq.leases
...