change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq

This commit is contained in:
Yubao Liu 2019-04-07 20:41:25 +08:00
parent 9600555969
commit f7f51fab2a
5 changed files with 9 additions and 0 deletions

View File

@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf

View File

@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf

View File

@ -68,6 +68,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf

View File

@ -318,6 +318,7 @@ data:
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}{{ .Federation }}
prometheus :9153
forward . {{ .UpstreamNameserver }}

View File

@ -71,6 +71,7 @@ func (t *dnsFederationsConfigMapTest) run() {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
federation %v {
abc def.com
@ -86,6 +87,7 @@ func (t *dnsFederationsConfigMapTest) run() {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
federation %v {
ghi xyz.com
@ -235,6 +237,7 @@ func (t *dnsNameserverTest) run(isIPv6 bool) {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
forward . %v
}
@ -333,6 +336,7 @@ func (t *dnsPtrFwdTest) run(isIPv6 bool) {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
forward . %v
}`, framework.TestContext.ClusterDNSDomain, t.dnsServerPod.Status.PodIP),
@ -443,6 +447,7 @@ func (t *dnsExternalNameTest) run(isIPv6 bool) {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
forward . %v
}`, framework.TestContext.ClusterDNSDomain, t.dnsServerPod.Status.PodIP),