summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/dnsmasq/dnsmasq.conf
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-09 02:33:06 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-09 02:33:06 (GMT)
commit1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e (patch)
treef336ee91ce16c6591fff50340562e07e15aa1a55 /abs/mv-core/dnsmasq/dnsmasq.conf
parent75b1bceb21faab32d8f519d6f7f7062a226f9047 (diff)
downloadlinhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.zip
linhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.tar.gz
linhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.tar.bz2
MythVantage specific pkgs
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
+