Add entry to the Corefile: |
section of the configmap/coredns
in section kube-system.
.:53 {
# ...
}
import /etc/coredns/custom/*.server
Example for local DNS server using the clcreative.home zone.
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns-custom
namespace: kube-system
data:
clcreative.server: |
clcreative.home:53 {
forward . 10.20.0.10
}