⇤ ← Revision 1 as of 2018-08-09 06:01:36
512
Comment:
|
← Revision 2 as of 2022-06-06 06:00:08 ⇥
607
|
Deletions are marked like this. | Additions are marked like this. |
Line 14: | Line 14: |
== DHCP with dnsmasq == * List ip's handed out {{{ $ cat /var/lib/misc/dnsmasq.leases }}} |
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
...