Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable QueryCache by default #786

Merged
merged 2 commits into from
Jun 17, 2024
Merged

Enable QueryCache by default #786

merged 2 commits into from
Jun 17, 2024

Conversation

bradh352
Copy link
Member

The query cache should be enabled by default. This will help with determining proper timeouts for #736. It can still be disabled by setting the ttl to 0. There should be no negative consequences of this in real-world scenarios since DNS is based on the TTL concept and upstream servers will cache results and not recurse based on this information anyhow. DNS queries and responses are very small, this should have negligible impact on memory consumption.

Fix By: Brad House (@bradh352)

@bradh352 bradh352 merged commit 4248c64 into c-ares:main Jun 17, 2024
41 checks passed
@bradh352 bradh352 deleted the dnscacheon branch June 17, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant