📦 Installation Command
apt install dnsmasq
Lightweight DNS forwarder and DHCP server. Good for small networks and development.
apt install dnsmasq
/etc/dnsmasq.conf/etc/dnsmasq.d//etc/hosts/etc/dnsmasq.conf/var/lib/misc/dnsmasq.leases/var/log/syslog/etc/hostsBind to specific interfaces, disable DHCP if not needed, use bogus-priv and domain-needed options