X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fdnsmasq%2Ffiles%2Fdhcp.conf;h=660b06ad4ff8e44e01bb872b6f0a4bd6fef07309;hb=7a802390062f7941893c10b161a30609d65416e9;hp=fb55cf8b774a866f8ef3712f74c4fa5d9dca006f;hpb=4ab4dc8ed81fbcbe398e9d142096e1876b11a7c0;p=openwrt-10.03%2F.git diff --git a/package/dnsmasq/files/dhcp.conf b/package/dnsmasq/files/dhcp.conf index fb55cf8b7..660b06ad4 100644 --- a/package/dnsmasq/files/dhcp.conf +++ b/package/dnsmasq/files/dhcp.conf @@ -1,9 +1,31 @@ -config dhcp +config dnsmasq + option domainneeded 1 + option boguspriv 1 + option filterwin2k 0 # enable for dial on demand + option localise_queries 1 + option rebind_protection 1 # disable if upstream must serve RFC1918 addresses + option rebind_localhost 1 # enable for RBL checking and similar services + #list rebind_domain example.lan # whitelist RFC1918 responses for domains + option local '/lan/' + option domain 'lan' + option expandhosts 1 + option nonegcache 0 + option authoritative 1 + option readethers 1 + option leasefile '/tmp/dhcp.leases' + option resolvfile '/tmp/resolv.conf.auto' + #list server '/mycompany.local/1.2.3.4' + #option nonwildcard 1 + #list interface br-lan + #list notinterface lo + #list bogusnxdomain '64.94.110.11' + +config dhcp lan option interface lan option start 100 option limit 150 option leasetime 12h -config dhcp +config dhcp wan option interface wan option ignore 1