mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-14 07:52:01 +00:00
Merge pull request #128359 from matteriben/disable-caching-for-authoritative-zone
disable caching for authoritative zone to comply with rfc-1035 section 6.1.2
This commit is contained in:
@@ -184,7 +184,10 @@ func TestCreateCoreDNSAddon(t *testing.T) {
|
|||||||
forward . /etc/resolv.conf {
|
forward . /etc/resolv.conf {
|
||||||
max_concurrent 1000
|
max_concurrent 1000
|
||||||
}
|
}
|
||||||
cache 30
|
cache 30 {
|
||||||
|
disable success cluster.local
|
||||||
|
disable denial cluster.local
|
||||||
|
}
|
||||||
loop
|
loop
|
||||||
reload
|
reload
|
||||||
loadbalance
|
loadbalance
|
||||||
@@ -228,7 +231,10 @@ func TestCreateCoreDNSAddon(t *testing.T) {
|
|||||||
forward . /etc/resolv.conf {
|
forward . /etc/resolv.conf {
|
||||||
max_concurrent 1000
|
max_concurrent 1000
|
||||||
}
|
}
|
||||||
cache 30
|
cache 30 {
|
||||||
|
disable success cluster.local
|
||||||
|
disable denial cluster.local
|
||||||
|
}
|
||||||
loop
|
loop
|
||||||
reload
|
reload
|
||||||
loadbalance
|
loadbalance
|
||||||
@@ -314,7 +320,10 @@ func TestCreateCoreDNSAddon(t *testing.T) {
|
|||||||
forward . /etc/resolv.conf {
|
forward . /etc/resolv.conf {
|
||||||
max_concurrent 1000
|
max_concurrent 1000
|
||||||
}
|
}
|
||||||
cache 30
|
cache 30 {
|
||||||
|
disable success cluster.local
|
||||||
|
disable denial cluster.local
|
||||||
|
}
|
||||||
loop
|
loop
|
||||||
reload
|
reload
|
||||||
loadbalance
|
loadbalance
|
||||||
|
|||||||
@@ -178,6 +178,11 @@ data:
|
|||||||
max_concurrent 1000
|
max_concurrent 1000
|
||||||
}
|
}
|
||||||
cache 30
|
cache 30
|
||||||
|
{{- if .DNSDomain }} {
|
||||||
|
disable success {{ .DNSDomain }}
|
||||||
|
disable denial {{ .DNSDomain }}
|
||||||
|
}
|
||||||
|
{{- end }}
|
||||||
loop
|
loop
|
||||||
reload
|
reload
|
||||||
loadbalance
|
loadbalance
|
||||||
|
|||||||
Reference in New Issue
Block a user