diff options
author | Mike Baker <mbm@openwrt.org> | 2005-02-06 00:52:16 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2005-02-06 00:52:16 +0000 |
commit | 6beed4602a645145cf500bfd211985eece93e35d (patch) | |
tree | 7f74d65e19595fd3b6a258f82ced9c9c964df586 /target/default/target_skeleton/etc/dnsmasq.conf | |
parent | 5acb824a30657b31ba7d30313d64a7da9742eb16 (diff) | |
download | upstream-6beed4602a645145cf500bfd211985eece93e35d.tar.gz upstream-6beed4602a645145cf500bfd211985eece93e35d.tar.bz2 upstream-6beed4602a645145cf500bfd211985eece93e35d.zip |
openwrt root filesystem
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@211 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default/target_skeleton/etc/dnsmasq.conf')
-rw-r--r-- | target/default/target_skeleton/etc/dnsmasq.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/default/target_skeleton/etc/dnsmasq.conf b/target/default/target_skeleton/etc/dnsmasq.conf new file mode 100644 index 0000000000..293edc600a --- /dev/null +++ b/target/default/target_skeleton/etc/dnsmasq.conf @@ -0,0 +1,24 @@ +# 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-authoritative +dhcp-range=192.168.1.100,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> [<hostname>] <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 |