diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/k8sCorefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/conf/k8sCorefile b/conf/k8sCorefile new file mode 100644 index 000000000..7825a626e --- /dev/null +++ b/conf/k8sCorefile @@ -0,0 +1,13 @@ +# Serve on port 53 +.:53 { + # use kubernetes middleware for domain "coredns.local" + kubernetes coredns.local { + # Use url for k8s API endpoint + endpoint http://localhost:8080 + } + # Perform DNS response caching for the coredns.local zone + # Cache timeout is provided by the integer in seconds + # This works for the kubernetes middleware.) + #cache 20 coredns.local + #cache 160 coredns.local +} |