add corefile config for coredns [ci skip]
This commit is contained in:
parent
5665308fd2
commit
1ede429c5b
1 changed files with 42 additions and 0 deletions
42
corefils.yaml
Normal file
42
corefils.yaml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
apiVersion: v1
|
||||
data:
|
||||
Corefile: |
|
||||
.:53 {
|
||||
log
|
||||
errors
|
||||
health {
|
||||
lameduck 5s
|
||||
}
|
||||
ready
|
||||
kubernetes cluster.local in-addr.arpa ip6.arpa {
|
||||
pods insecure
|
||||
fallthrough in-addr.arpa ip6.arpa
|
||||
ttl 30
|
||||
}
|
||||
prometheus :9153
|
||||
#forward . 1.1.1.1
|
||||
forward . 10.0.20.1
|
||||
#forward . /etc/resolv.conf
|
||||
cache {
|
||||
success 10000 300 6
|
||||
denial 10000 300 60
|
||||
}
|
||||
loop
|
||||
reload
|
||||
loadbalance
|
||||
}
|
||||
viktorbarzin.lan:53 {
|
||||
log
|
||||
errors
|
||||
#forward . 10.102.184.76
|
||||
forward . 10.0.20.101:30053 # this must be the same as the technitium nodeport svc
|
||||
#forward . technitium-dns.technitium.svc.cluster.local
|
||||
cache {
|
||||
success 10000 300 6
|
||||
denial 10000 300 60
|
||||
}
|
||||
}
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: coredns
|
||||
namespace: kube-system
|
||||
Loading…
Add table
Add a link
Reference in a new issue