LTSP-DNSMASQ(8)
π
LTSP-DNSMASQ(8) β the ltsp dnsmasq glow-up guide β¨
okay bestie, so this is a page from the LTSP Manual, and it's literally all about making dnsmasq behave for your LTSP server. no cap. π
πΈ NAME πΈ
ltsp dnsmasq β configure dnsmasq for LTSP π
β¨ SYNOPSIS β¨
ltsp [ltsp-options] dnsmasq [-d dns] [-p proxy-dhcp] [-r real-dhcp] [-s
dns-server] [-t tftp]
π¦ DESCRIPTION π¦
It installs /etc/dnsmasq.d/ltsp-dnsmasq.conf, but the way it does that is by taking a template and adjusting it with whatever parameters you handed it. so it's not just a copy-paste situation, it's a customized situation π
π OPTIONS π
first things first, the ltsp-options? those live in the ltsp(8) man page. go check her out. π«Ά
-d,--dns=0|1β turn the DNS service on or off. defaults to0. turning ondnsmasq's DNS service unlocks caching of client requests, custom DNS results, blacklisting, all that good stuff β and it automatically disablesDNSStubListenerinsystemd-resolvedon the LTSP server. so like, it handles that for you, iconic. β¨-p,--proxy-dhcp=0|1β turn the proxy DHCP service on or off. defaults to1. so what even is proxy DHCP? it means the LTSP server sends the boot filename, but it leaves the actual IP leasing to an external DHCP server β think a router, or pfsense, or a Windows DHCP server. it's genuinely the easiest way to set up LTSP, because it only needs a single NIC, no static IP, no rewiring switches, none of that. lowkey a dream. π-r,--real-dhcp=0|1β turn the real DHCP service on or off. defaults to1. in dual NIC setups you only need to configure the internal NIC to a static IP of192.168.67.1, and LTSP will try to autodetect everything else. here's the tea though: the real DHCP service doesn't take effect if your IP isn't192.168.67.x, so there's no need to disable it in single NIC setups β unless you wanna runisc-dhcp-serveron the LTSP server, in which case go off. π-s,--dns-server="space separated list"β set the DNS server DHCP option. defaults to autodetection. important thing to know: proxy DHCP clients don't receive DHCP options, so when autodetection isn't appropriate, you should use theltsp.confDNS_SERVERparameter instead. π§-t,--tftp=0|1β turn the TFTP service on or off. defaults to1.
π EXAMPLES π
Wanna create a default dnsmasq configuration and overwrite the old one? periodt:
ltsp dnsmasq
Wanna do a dual NIC setup with the DNS service enabled? slay:
ltsp dnsmasq -d1 -p0 --dns-server="0.0.0.0 8.8.8.8 208.67.222.222"
π COPYRIGHT π
Copyright 2019-2022 the LTSP team, see AUTHORS.
β SEE ALSO β
ltsp(8), ltsp.conf(5), ltsp-image(8), ltsp-info(8), ltsp-initrd(8), ltsp-ipxe(8), ltsp-kernel(8), ltsp-nfs(8), ltsp-remoteapps(8)
Online documentation is available on https://ltsp.org
okay that's the whole thing, bestie, you ate that π«Ά this was LTSP 23.02-3, dated 2024-09-07, and yeah β that's the LTSP-DNSMASQ(8) main character energy, mwah π
β¨
π¦ where this page comes from
- debian trixie: ltsp 23.02-3 Β· GPL-3.0-or-later
- ubuntu questing: ltsp 23.02-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms