Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computers:truenas:dnsmasq [30-Oct-2021 13:46] – [Configure Dnsmasq] Steve Joynt | computers:truenas:dnsmasq [02-Feb-2025 16:14] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 108: | Line 108: | ||
# http:// | # http:// | ||
dhcp-authoritative | dhcp-authoritative | ||
+ | |||
+ | # For debugging purposes, log each DNS query as it passes through | ||
+ | # dnsmasq. | ||
+ | log-queries | ||
+ | |||
+ | # Log lots of extra information about DHCP transactions. | ||
+ | #log-dhcp | ||
END | END | ||
Line 119: | Line 126: | ||
<<END | <<END | ||
# Bespoke configuration file for dnsmasq | # Bespoke configuration file for dnsmasq | ||
+ | |||
+ | # Uncomment this to enable the integrated DHCP server, you need | ||
+ | # to supply the range of addresses available for lease and optionally | ||
+ | # a lease time. If you have more than one network, you will need to | ||
+ | # repeat this for each network on which you want to supply DHCP | ||
+ | # service. | ||
+ | dhcp-range=192.168.1.200, | ||
+ | |||
+ | # Set the domain for dnsmasq. this is optional, but if it is set, it | ||
+ | # does the following things. | ||
+ | # 1) Allows DHCP hosts to have fully qualified domain names, as long | ||
+ | # as the domain part matches this setting. | ||
+ | # 2) Sets the " | ||
+ | # domain of all systems configured by DHCP | ||
+ | # 3) Provides the domain part for " | ||
+ | domain=net.joynt.org.uk | ||
+ | |||
END | END | ||