Differences between revisions 1 and 2
Revision 1 as of 2018-08-09 06:01:36
Size: 512
Editor: PieterSmit
Comment:
Revision 2 as of 2022-06-06 06:00:08
Size: 607
Editor: PieterSmit
Comment:
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

DHCP with dnsmasq

  • List ip's handed out

    $ cat /var/lib/misc/dnsmasq.leases

...

Linux/dnsmasq (last edited 2022-06-06 06:00:08 by PieterSmit)