diff options
Diffstat (limited to 'package/dnsmasq/files')
-rw-r--r-- | package/dnsmasq/files/dhcp.conf | 3 | ||||
-rw-r--r-- | package/dnsmasq/files/dnsmasq.init | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/package/dnsmasq/files/dhcp.conf b/package/dnsmasq/files/dhcp.conf index 85228974a..25ecde6f5 100644 --- a/package/dnsmasq/files/dhcp.conf +++ b/package/dnsmasq/files/dhcp.conf @@ -12,8 +12,9 @@ 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 nonwildcard 1 #list interface br-lan + #list notinterface lo config dhcp lan option interface lan diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index b5ecf1de2..1aeeb94b2 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -44,6 +44,10 @@ append_interface() { append args "-i $1" } +append_notinterface() { + append args "-I $1" +} + dnsmasq() { local cfg="$1" append_bool "$cfg" authoritative "-K" @@ -73,6 +77,7 @@ dnsmasq() { append_parm "$cfg" "local" "-S" config_list_foreach "$cfg" "server" append_server config_list_foreach "$cfg" "interface" append_interface + config_list_foreach "$cfg" "notinterface" append_notinterface append_parm "$cfg" "leasefile" "-l" append_parm "$cfg" "resolvfile" "-r" append_parm "$cfg" "tftp_root" "--tftp-root" |