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
This commit is contained in:
parent
64c23711ea
commit
56f6d35716
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue