|
@@ -1,32 +1,41 @@
|
|
|
+
|
|
|
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'
|
|
|
+ option domainneeded '1'
|
|
|
+ option boguspriv '1'
|
|
|
+ option filterwin2k '0'
|
|
|
+ option localise_queries '1'
|
|
|
+ option rebind_protection '1'
|
|
|
+ option rebind_localhost '1'
|
|
|
+ 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'
|
|
|
+
|
|
|
+config dhcp 'lan'
|
|
|
+ option interface 'lan'
|
|
|
+ option start '100'
|
|
|
+ option limit '150'
|
|
|
+ option leasetime '12h'
|
|
|
+ option dhcpv6 'hybrid'
|
|
|
+ option ra 'hybrid'
|
|
|
+ option ndp 'hybrid'
|
|
|
+
|
|
|
+config dhcp 'wan'
|
|
|
+ option interface 'wan'
|
|
|
+ option ignore '1'
|
|
|
+
|
|
|
+config odhcpd 'odhcpd'
|
|
|
+ option maindhcp '0'
|
|
|
+ option leasefile '/tmp/hosts/odhcpd'
|
|
|
+ option leasetrigger '/usr/sbin/odhcpd-update'
|
|
|
|
|
|
-config dhcp lan
|
|
|
- option interface lan
|
|
|
- option start 100
|
|
|
- option limit 150
|
|
|
- option leasetime 12h
|
|
|
- option ignore 1
|
|
|
+config dhcp 'wan6'
|
|
|
+ option dhcpv6 'hybrid'
|
|
|
+ option ra 'hybrid'
|
|
|
+ option ndp 'hybrid'
|
|
|
+ option master '1'
|
|
|
|
|
|
-config dhcp wan
|
|
|
- option interface wan
|
|
|
- option ignore 1
|