envoy icon indicating copy to clipboard operation
envoy copied to clipboard

What is the maximum allowed value for max_pending_lookups

Open zhaohaom-aws opened this issue 4 years ago • 5 comments

If you are reporting any crash or any potential security issue, do not open an issue in this repo. Please report the issue via emailing [email protected] where the issue will be triaged appropriately.

Title: What is the maximum allowed value for max_pending_lookups?

Description:

We are using envoy to act as a DNS resolver and sometime redirect DNS traffics to external resolver. We set up a DNS filter and we would like to know the maximum allowed value for field max_pending_lookups.

[optional Relevant Links:]

Any extra documentation required to understand the issue.

zhaohaom-aws avatar Feb 17 '22 17:02 zhaohaom-aws

CC'ing @abaptiste @mattklein123 @yanjunxiang-google as codeowners of the dns-filter extension

adisuissa avatar Feb 23 '22 18:02 adisuissa

I don't see any default setting for this proto field:

https://github.com/envoyproxy/envoy/blob/3236abed247c71049e943be6d485d398fc646f9a/api/envoy/extensions/filters/udp/dns_filter/v3/dns_filter.proto#L93

There is an example configuration which set this to be 256:

https://github.com/envoyproxy/envoy/blob/main/docs/root/configuration/listeners/udp_filters/dns_filter.rst#:~:text=max_pending_lookups%3A%20256

yanjunxiang-google avatar Feb 23 '22 19:02 yanjunxiang-google

There is no default. In tests its set to 256. In testing (many moons ago) I don't recall having to set the value greater than a single digit.

abaptiste avatar Feb 23 '22 19:02 abaptiste

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 25 '22 20:03 github-actions[bot]

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.

github-actions[bot] avatar Apr 01 '22 20:04 github-actions[bot]