summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/sources/openwrt/root/etc/dnsmasq.conf
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-08-12 05:47:00 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-08-12 05:47:00 +0000
commit512afda668386575e4d146d22161ca3afa3af728 (patch)
tree705b07b306a36c583e1d7e3f62dc6701bfd04118 /obsolete-buildroot/sources/openwrt/root/etc/dnsmasq.conf
parent58baf5ad434854d7d3326fa31bf2978b3cede26d (diff)
moved.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@134 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/root/etc/dnsmasq.conf')
-rw-r--r--obsolete-buildroot/sources/openwrt/root/etc/dnsmasq.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/root/etc/dnsmasq.conf b/obsolete-buildroot/sources/openwrt/root/etc/dnsmasq.conf
new file mode 100644
index 000000000..2c6c40452
--- /dev/null
+++ b/obsolete-buildroot/sources/openwrt/root/etc/dnsmasq.conf
@@ -0,0 +1,22 @@
+# filter what we send upstream
+domain-needed
+bogus-priv
+filterwin2k
+
+# allow /etc/hosts and dhcp lookups via *.lan
+local=/lan/
+domain=lan
+
+# no dhcp / dns queries from the wan
+except-interface=vlan1
+
+# enable dhcp (start,end,netmask,leasetime)
+dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h
+dhcp-leasefile=/tmp/dhcp.leases
+
+# allow a /etc/ethers for static hosts
+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