Skip to content

Commit

Permalink
Merge pull request #279 from openshift-cherrypick-robot/cherry-pick-2…
Browse files Browse the repository at this point in the history
…77-to-release-4.6

[release-4.6] Bug 1970140: Corefile: Set bufsize to 512 bytes for all servers
  • Loading branch information
openshift-merge-robot committed Jun 10, 2021
2 parents 5f37b0b + 9596eae commit b45ac97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pkg/operator/controller/controller_dns_configmap.go
Expand Up @@ -28,11 +28,11 @@ var corefileTemplate = template.Must(template.New("Corefile").Parse(`{{range .Se
forward .{{range .Upstreams}} {{.}}{{end}}
{{- end}}
errors
bufsize 1232
bufsize 512
}
{{end -}}
.:5353 {
bufsize 1232
bufsize 512
errors
health {
lameduck 20s
Expand Down
6 changes: 3 additions & 3 deletions pkg/operator/controller/controller_dns_configmap_test.go
Expand Up @@ -37,16 +37,16 @@ func TestDesiredDNSConfigmap(t *testing.T) {
foo.com:5353 {
forward . 1.1.1.1 2.2.2.2:5353
errors
bufsize 1232
bufsize 512
}
# bar
bar.com:5353 example.com:5353 {
forward . 3.3.3.3
errors
bufsize 1232
bufsize 512
}
.:5353 {
bufsize 1232
bufsize 512
errors
health {
lameduck 20s
Expand Down

0 comments on commit b45ac97

Please sign in to comment.