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 | 56f6d357167e19e26455135e4c3778692aef0de2 (patch) | |
tree | 8aab250acfa9b07fa3f6698f46e2e43a9eac8107 /package/network/services | |
parent | 64c23711ea10de53c49b4a16f1e1fefbcc23c56c (diff) | |
download | upstream-56f6d357167e19e26455135e4c3778692aef0de2.tar.gz upstream-56f6d357167e19e26455135e4c3778692aef0de2.tar.bz2 upstream-56f6d357167e19e26455135e4c3778692aef0de2.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>
SVN-Revision: 48244
Diffstat (limited to 'package/network/services')
-rw-r--r-- | package/network/services/dnsmasq/Makefile | 2 | ||||
-rw-r--r-- | package/network/services/dnsmasq/files/dnsmasq.init | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index d4a6f1f672..de0237b314 100644 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnsmasq PKG_VERSION:=2.75 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq 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 |