Created
September 23, 2019 19:57
-
-
Save lastcoolnameleft/e0f0d1302d633408b8d2bba443c7f1e2 to your computer and use it in GitHub Desktop.
AKS CoreDNS custom rule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: coredns-custom | |
namespace: kube-system | |
data: | |
test.server: | | |
lastcoolnameleft.com:53 { | |
log | |
errors | |
cache 30 | |
rewrite name substring lastcoolnameleft.com default.svc.cluster.local | |
kubernetes cluster.local in-addr.arpa ip6.arpa { | |
} | |
proxy . /etc/resolv.conf # you can redirect this to a specific DNS server such as 10.0.0.10 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment