Files
puppet-prod/modules
unkin-agent 1ed268acda Add dnsmasq module (#537)
The router runs dnsmasq as a DNS forwarder and DHCP relay from hand-edited config, so its state is not reproducible from code.

- add `dnsmasq` module installing the package, rendering `/etc/dnsmasq.conf` from class params and running the service
- cover listen addresses/interfaces, bind mode, upstream servers, no-resolv, cache-size, domain-needed, bogus-priv, per-domain forwards and dhcp-relay
- add raw `options` lines for anything else
- add `purge_config_dir` (default off) to remove unmanaged `/etc/dnsmasq.d` files

Reviewed-on: #537
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
2026-10-03 22:40:46 +10:00
..
2024-10-07 13:40:53 +11:00
2026-10-03 22:40:46 +10:00
2024-08-25 02:14:35 +10:00
2025-01-26 20:00:20 +11:00
2025-09-14 13:27:49 +10:00
2024-08-07 22:51:13 +10:00
2024-07-11 21:39:34 +10:00