From dba3b6c70c014bbcee57060ed693dda6a87c178c Mon Sep 17 00:00:00 2001 From: Adriano Inghingolo <68734231+SpikeTheDragon40k@users.noreply.github.com> Date: Mon, 28 Jul 2025 18:41:26 +0200 Subject: [PATCH] dnsmasq: add page (#17371) Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/common/dnsmasq.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/dnsmasq.md diff --git a/pages/common/dnsmasq.md b/pages/common/dnsmasq.md new file mode 100644 index 0000000000..252795d2af --- /dev/null +++ b/pages/common/dnsmasq.md @@ -0,0 +1,28 @@ +# dnsmasq + +> Lightweight DNS, DHCP, TFTP, and PXE server. +> More information: . + +- Start dnsmasq with default configuration: + +`dnsmasq` + +- Run dnsmasq in the foreground (for debugging): + +`dnsmasq --no-daemon` + +- Specify a custom configuration file: + +`dnsmasq --conf-file={{path/to/config.conf}}` + +- Enable verbose logging: + +`dnsmasq --log-queries --log-facility=-` + +- Set a DHCP range and lease time: + +`dnsmasq --dhcp-range={{192.168.0.50,192.168.0.150,12h}}` + +- Print dnsmasq version: + +`dnsmasq --version`