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 | 0d928148bf5472938e03e641908fc7a6b384bf9b (patch) | |
tree | e27ce18c541d0166fa93d2d596091036835321b0 /openwrt/target/default/target_skeleton/etc/dnsmasq.conf | |
parent | 406fdbc31da02db372157af8910953df2b8c40dc (diff) | |
download | mtk-20170518-0d928148bf5472938e03e641908fc7a6b384bf9b.zip mtk-20170518-0d928148bf5472938e03e641908fc7a6b384bf9b.tar.gz mtk-20170518-0d928148bf5472938e03e641908fc7a6b384bf9b.tar.bz2 |
openwrt root filesystem
SVN-Revision: 211
Diffstat (limited to 'openwrt/target/default/target_skeleton/etc/dnsmasq.conf')
-rw-r--r-- | openwrt/target/default/target_skeleton/etc/dnsmasq.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/dnsmasq.conf b/openwrt/target/default/target_skeleton/etc/dnsmasq.conf new file mode 100644 index 0000000..293edc6 --- /dev/null +++ b/openwrt/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 |