summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/dnsmasq/dnsmasq.conf
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/dnsmasq/dnsmasq.conf')
-rw-r--r--abs/mv-core/dnsmasq/dnsmasq.conf38
1 files changed, 38 insertions, 0 deletions
diff --git a/abs/mv-core/dnsmasq/dnsmasq.conf b/abs/mv-core/dnsmasq/dnsmasq.conf
new file mode 100644
index 0000000..96e338e
--- /dev/null
+++ b/abs/mv-core/dnsmasq/dnsmasq.conf
@@ -0,0 +1,38 @@
+#logging
+log-async=5
+log-facility=DAEMON
+log-queries
+
+# filter what we send upstream
+domain-needed
+bogus-priv
+filterwin2k
+localise-queries
+
+# allow /etc/hosts and dhcp lookups via *.lan
+local=/lan/
+domain=lan
+expand-hosts
+
+# enable dhcp (start,end,netmask,leasetime)
+dhcp-authoritative
+dhcp-range=192.168.1.101,192.168.1.250,255.255.255.0,12h
+dhcp-leasefile=/tmp/dhcp.leases
+
+# use /etc/ethers for static hosts; same format as --dhcp-host
+# <hwaddr> <ipaddr>
+read-ethers
+
+# other useful options:
+# default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
+# dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2
+
+dhcp-option=3,192.168.1.1
+dhcp-option=6,192.168.1.1
+
+enable-tftp
+tftp-root=/data/srv/tftp/
+conf-file=/etc/dnsmasq.mvpmc.conf
+
+dhcp-boot=pxelinux.0
+