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

coredns: use a TTL of 0 for our names #511

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Luap99
Copy link
Member

@Luap99 Luap99 commented Sep 18, 2024

Containers can be be restarted with a different ip at any time so
allowing caches here doesn't make much sense given the server is local
and queries should be fast enough anyway.

Fixes #429

We only clone because we conver from &mut to owned, but we own the
record here anyways so the clone is not needed if we declare it as var.

Signed-off-by: Paul Holzinger <[email protected]>
Containers can be be restarted with a different ip at any time so
allowing caches here doesn't make much sense given the server is local
and queries should be fast enough anyway.

Fixes containers#429

Signed-off-by: Paul Holzinger <[email protected]>
Copy link
Contributor

openshift-ci bot commented Sep 18, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

Tests failed. @containers/packit-build please check.

@mheon
Copy link
Member

mheon commented Sep 18, 2024

LGTM

@Luap99
Copy link
Member Author

Luap99 commented Sep 24, 2024

@baude PTAL (ignore packit failures)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add response TTL settings
2 participants