Difference between revisions of "Corefile"

From wikieduonline
Jump to navigation Jump to search
Line 27: Line 27:
 
     }     
 
     }     
  
 +
== See also ==
 +
* {{CoreDNS}}
  
{{CoreDNS}}
+
[[Category:DNS]]

Revision as of 09:38, 16 March 2023

Default Corefile, <ref>https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/

apiVersion: v1
kind: ConfigMap
metadata:
  name: coredns
  namespace: kube-system
data:
  Corefile: |
    .:53 {
        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 . /etc/resolv.conf
        cache 30
        loop
        reload
        loadbalance
    }    

See also

Advertising: