add_max_concurrent_in_coredns (#9307)

pull/9312/head
Kay Yan 2022-09-22 19:27:03 +08:00 committed by GitHub
parent 76573bf293
commit 1b3c2dab2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -49,10 +49,12 @@ data:
{% if upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}
forward . {{ upstream_dns_servers|join(' ') }} {
prefer_udp
max_concurrent 1000
}
{% else %}
forward . /etc/resolv.conf {
prefer_udp
max_concurrent 1000
}
{% endif %}
{% if enable_coredns_k8s_external %}