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

[release-4.7] Bug 1943826: Corefile: Use 30 second max TTL for caching of negative responses #254

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion pkg/operator/controller/controller_dns_configmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ var corefileTemplate = template.Must(template.New("Corefile").Parse(`{{range .Se
forward . /etc/resolv.conf {
policy sequential
}
cache 900
cache 900 {
denial 9984 30
}
reload
}
`))
Expand Down
4 changes: 3 additions & 1 deletion pkg/operator/controller/controller_dns_configmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ bar.com:5353 example.com:5353 {
forward . /etc/resolv.conf {
policy sequential
}
cache 900
cache 900 {
denial 9984 30
}
reload
}
`
Expand Down