mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 12:48:25 +02:00
5949fd8b7c
This tiny patch makes the dnsmasq init.d script listen to a parameter called "notinterface", which tells dnsmasq to not listen on a defined set of interfaces. By default dnsmasq *always* listens on the loopback interface, even if you tell it to specifically listen on a certain other interface. Sometimes this is not desirable behaviour, so you might want to turn it off. This is useful when, for example, you want to have your own DNS server listening on the loopback interface. Signed-off-by: Johnny Halfmoon <jhalfmoon at milksnot.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17599 3c298f89-4303-0410-b956-a3cf2f4a3e73
28 lines
615 B
Plaintext
28 lines
615 B
Plaintext
config dnsmasq
|
|
option domainneeded 1
|
|
option boguspriv 1
|
|
option filterwin2k '0' #enable for dial on demand
|
|
option localise_queries 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'
|
|
#list server '/mycompany.local/1.2.3.4'
|
|
#option nonwildcard 1
|
|
#list interface br-lan
|
|
#list notinterface lo
|
|
|
|
config dhcp lan
|
|
option interface lan
|
|
option start 100
|
|
option limit 150
|
|
option leasetime 12h
|
|
|
|
config dhcp wan
|
|
option interface wan
|
|
option ignore 1
|