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
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,15 +43,15 @@ metadata:
43
43
namespace: kube-system
44
44
data:
45
45
test.server: | # you may select any name here, but it must end with the .server file extension
46
-
<domain to be rewritten>.com:53 {
47
-
log
48
-
errors
49
-
rewrite stop {
50
-
name regex (.*)\.<domain to be rewritten>.com {1}.default.svc.cluster.local
51
-
answer name (.*)\.default\.svc\.cluster\.local {1}.<domain to be rewritten>.com
52
-
}
53
-
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
54
-
}
46
+
<domain to be rewritten>.com:53 {
47
+
log
48
+
errors
49
+
rewrite stop {
50
+
name regex (.*)\.<domain to be rewritten>.com {1}.default.svc.cluster.local
51
+
answer name (.*)\.default\.svc\.cluster\.local {1}.<domain to be rewritten>.com
52
+
}
53
+
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