[backfire] dnsmasq: backport r29375
[openwrt-10.03/.git] / package / dnsmasq / files / dhcp.conf
index f34a0e91580e96c124668bd47ced6c23d9aa949e..660b06ad4ff8e44e01bb872b6f0a4bd6fef07309 100644 (file)
@@ -1,8 +1,11 @@
 config dnsmasq
        option domainneeded     1
        option boguspriv        1
-       option filterwin2k      '0'  #enable for dial on demand
+       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
@@ -12,8 +15,10 @@ config dnsmasq
        option leasefile        '/tmp/dhcp.leases'
        option resolvfile       '/tmp/resolv.conf.auto'
        #list server            '/mycompany.local/1.2.3.4'
-       #option nonwildcard     0
-       #option interfaces      ''
+       #option nonwildcard     1
+       #list interface         br-lan
+       #list notinterface      lo
+       #list bogusnxdomain     '64.94.110.11'
 
 config dhcp lan
        option interface        lan