diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-15 11:24:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-15 11:24:15 +0000 |
commit | 542fff321054ef287af1221cff1595bd3125b16a (patch) | |
tree | 482cc051bb4101f5c7c9015f9886955718250870 /package/network/services/dnsmasq/files | |
parent | 9dd476228681fb7449ac4fbd32c6ecbf2436ab4f (diff) | |
download | master-187ad058-542fff321054ef287af1221cff1595bd3125b16a.tar.gz master-187ad058-542fff321054ef287af1221cff1595bd3125b16a.tar.bz2 master-187ad058-542fff321054ef287af1221cff1595bd3125b16a.zip |
dnsmasq: Add option --min-port
By default dnsmasq uses random ports for outbound dns queries;
when the minport UCI option is specified the ports used will
always be larger than the specified value.
This is usefull for systems behind firewalls.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48244 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/dnsmasq/files')
-rw-r--r-- | package/network/services/dnsmasq/files/dnsmasq.init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 0cec6d8924..efc96273a2 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -146,6 +146,7 @@ dnsmasq() { append_parm "$cfg" ednspacket_max "--edns-packet-max" append_parm "$cfg" dhcpleasemax "--dhcp-lease-max" append_parm "$cfg" "queryport" "--query-port" + append_parm "$cfg" "minport" "--min-port" append_parm "$cfg" "domain" "--domain" append_parm "$cfg" "local" "--server" config_list_foreach "$cfg" "server" append_server |