diff options
author | Hans Dedecker <hans.dedecker@technicolor.com> | 2016-06-08 16:35:18 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-06-10 18:05:07 +0200 |
commit | 7eaacd4d233678132914dc67f25f8b8d51100400 (patch) | |
tree | c816fc8c4ab4ea15db92eb28974300bc6903f5cd /package/network | |
parent | 95d8568cb87fd96086998c304a453aef6ff88298 (diff) | |
download | upstream-7eaacd4d233678132914dc67f25f8b8d51100400.tar.gz upstream-7eaacd4d233678132914dc67f25f8b8d51100400.tar.bz2 upstream-7eaacd4d233678132914dc67f25f8b8d51100400.zip |
dnsmasq: Add option --max-port
By default dnsmasq uses random ports for outbound dns queries;
when the maxport UCI option is specified the ports used will
always be smaller than the specified value.
This is usefull for systems behind firewalls.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network')
-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 0360548e0d..ecf83622be 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -149,6 +149,7 @@ dnsmasq() { append_parm "$cfg" dhcpleasemax "--dhcp-lease-max" append_parm "$cfg" "queryport" "--query-port" append_parm "$cfg" "minport" "--min-port" + append_parm "$cfg" "maxport" "--max-port" append_parm "$cfg" "domain" "--domain" append_parm "$cfg" "local" "--server" config_list_foreach "$cfg" "server" append_server |