add_max_concurrent_in_coredns (#9307)
This commit is contained in:
parent
76573bf293
commit
1b3c2dab2e
1 changed files with 2 additions and 0 deletions
|
@ -49,10 +49,12 @@ data:
|
||||||
{% if upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}
|
{% if upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}
|
||||||
forward . {{ upstream_dns_servers|join(' ') }} {
|
forward . {{ upstream_dns_servers|join(' ') }} {
|
||||||
prefer_udp
|
prefer_udp
|
||||||
|
max_concurrent 1000
|
||||||
}
|
}
|
||||||
{% else %}
|
{% else %}
|
||||||
forward . /etc/resolv.conf {
|
forward . /etc/resolv.conf {
|
||||||
prefer_udp
|
prefer_udp
|
||||||
|
max_concurrent 1000
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if enable_coredns_k8s_external %}
|
{% if enable_coredns_k8s_external %}
|
||||||
|
|
Loading…
Reference in a new issue