1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 09:15:32 +02:00

dnsmasq: add page (#17371)

Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
Adriano Inghingolo 2025-07-28 18:41:26 +02:00 committed by GitHub
parent a26f7fe0cb
commit dba3b6c70c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
pages/common/dnsmasq.md Normal file
View file

@ -0,0 +1,28 @@
# dnsmasq
> Lightweight DNS, DHCP, TFTP, and PXE server.
> More information: <https://manned.org/dnsmasq>.
- 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`