Skip to main content

CoreDNS

Static Hostnames

Static hostnames can be set in an extra ConfigMap called "coredns-extra-hosts" inside the kube-system namespace.

apiVersion: v1
data:
 hosts.list: |
   192.168.100.100 example.com
kind: ConfigMap
metadata:
 name: coredns-extra-hosts
 namespace: kube-system