You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/coredns-custom.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ You can customize CoreDNS with AKS to perform on-the-fly DNS name rewrites.
49
49
log
50
50
errors
51
51
rewrite stop {
52
-
name regex (.*)\.<domain to be rewritten>.com {1}.default.svc.cluster.local
52
+
name regex (.*)\.<domain to be rewritten>\.com {1}.default.svc.cluster.local
53
53
answer name (.*)\.default\.svc\.cluster\.local {1}.<domain to be rewritten>.com
54
54
}
55
55
forward . /etc/resolv.conf # you can redirect this to a specific DNS server such as 10.0.0.10, but that server must be able to resolve the rewritten domain name
0 commit comments