mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
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>
This commit is contained in:
parent
95d8568cb8
commit
7eaacd4d23
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user