Ignore:
Timestamp:
2009-09-16T20:15:31+02:00 (7 years ago)
Author:
nbd
Message:

dnsmasq startup script update: add notinterface parameter

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>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/dnsmasq/files/dhcp.conf

    r15613 r17599  
    1313        option resolvfile       '/tmp/resolv.conf.auto' 
    1414        #list server            '/mycompany.local/1.2.3.4' 
    15         #option nonwildcard     0 
     15        #option nonwildcard     1 
    1616        #list interface         br-lan 
     17        #list notinterface      lo 
    1718 
    1819config dhcp lan 
Note: See TracChangeset for help on using the changeset viewer.