Merge pull request #76238 from Dieken/30s-ttl-for-coredns
change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq
This commit is contained in:
@@ -68,6 +68,7 @@ data:
|
|||||||
pods insecure
|
pods insecure
|
||||||
upstream
|
upstream
|
||||||
fallthrough in-addr.arpa ip6.arpa
|
fallthrough in-addr.arpa ip6.arpa
|
||||||
|
ttl 30
|
||||||
}
|
}
|
||||||
prometheus :9153
|
prometheus :9153
|
||||||
forward . /etc/resolv.conf
|
forward . /etc/resolv.conf
|
||||||
|
@@ -68,6 +68,7 @@ data:
|
|||||||
pods insecure
|
pods insecure
|
||||||
upstream
|
upstream
|
||||||
fallthrough in-addr.arpa ip6.arpa
|
fallthrough in-addr.arpa ip6.arpa
|
||||||
|
ttl 30
|
||||||
}
|
}
|
||||||
prometheus :9153
|
prometheus :9153
|
||||||
forward . /etc/resolv.conf
|
forward . /etc/resolv.conf
|
||||||
|
@@ -68,6 +68,7 @@ data:
|
|||||||
pods insecure
|
pods insecure
|
||||||
upstream
|
upstream
|
||||||
fallthrough in-addr.arpa ip6.arpa
|
fallthrough in-addr.arpa ip6.arpa
|
||||||
|
ttl 30
|
||||||
}
|
}
|
||||||
prometheus :9153
|
prometheus :9153
|
||||||
forward . /etc/resolv.conf
|
forward . /etc/resolv.conf
|
||||||
|
@@ -318,6 +318,7 @@ data:
|
|||||||
pods insecure
|
pods insecure
|
||||||
upstream
|
upstream
|
||||||
fallthrough in-addr.arpa ip6.arpa
|
fallthrough in-addr.arpa ip6.arpa
|
||||||
|
ttl 30
|
||||||
}{{ .Federation }}
|
}{{ .Federation }}
|
||||||
prometheus :9153
|
prometheus :9153
|
||||||
forward . {{ .UpstreamNameserver }}
|
forward . {{ .UpstreamNameserver }}
|
||||||
|
@@ -71,6 +71,7 @@ func (t *dnsFederationsConfigMapTest) run() {
|
|||||||
pods insecure
|
pods insecure
|
||||||
upstream
|
upstream
|
||||||
fallthrough in-addr.arpa ip6.arpa
|
fallthrough in-addr.arpa ip6.arpa
|
||||||
|
ttl 30
|
||||||
}
|
}
|
||||||
federation %v {
|
federation %v {
|
||||||
abc def.com
|
abc def.com
|
||||||
@@ -86,6 +87,7 @@ func (t *dnsFederationsConfigMapTest) run() {
|
|||||||
pods insecure
|
pods insecure
|
||||||
upstream
|
upstream
|
||||||
fallthrough in-addr.arpa ip6.arpa
|
fallthrough in-addr.arpa ip6.arpa
|
||||||
|
ttl 30
|
||||||
}
|
}
|
||||||
federation %v {
|
federation %v {
|
||||||
ghi xyz.com
|
ghi xyz.com
|
||||||
@@ -235,6 +237,7 @@ func (t *dnsNameserverTest) run(isIPv6 bool) {
|
|||||||
pods insecure
|
pods insecure
|
||||||
upstream
|
upstream
|
||||||
fallthrough in-addr.arpa ip6.arpa
|
fallthrough in-addr.arpa ip6.arpa
|
||||||
|
ttl 30
|
||||||
}
|
}
|
||||||
forward . %v
|
forward . %v
|
||||||
}
|
}
|
||||||
@@ -333,6 +336,7 @@ func (t *dnsPtrFwdTest) run(isIPv6 bool) {
|
|||||||
pods insecure
|
pods insecure
|
||||||
upstream
|
upstream
|
||||||
fallthrough in-addr.arpa ip6.arpa
|
fallthrough in-addr.arpa ip6.arpa
|
||||||
|
ttl 30
|
||||||
}
|
}
|
||||||
forward . %v
|
forward . %v
|
||||||
}`, framework.TestContext.ClusterDNSDomain, t.dnsServerPod.Status.PodIP),
|
}`, framework.TestContext.ClusterDNSDomain, t.dnsServerPod.Status.PodIP),
|
||||||
@@ -443,6 +447,7 @@ func (t *dnsExternalNameTest) run(isIPv6 bool) {
|
|||||||
pods insecure
|
pods insecure
|
||||||
upstream
|
upstream
|
||||||
fallthrough in-addr.arpa ip6.arpa
|
fallthrough in-addr.arpa ip6.arpa
|
||||||
|
ttl 30
|
||||||
}
|
}
|
||||||
forward . %v
|
forward . %v
|
||||||
}`, framework.TestContext.ClusterDNSDomain, t.dnsServerPod.Status.PodIP),
|
}`, framework.TestContext.ClusterDNSDomain, t.dnsServerPod.Status.PodIP),
|
||||||
|
Reference in New Issue
Block a user