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
@@ -262,7 +262,7 @@ To get a better picture of resource usage at the pod and node level, you can als
262
262
263
263
#### Part 3: Analyze DNS traffic and review DNS resolution performance
264
264
265
-
Analyzing DNS traffic can help you understand how your AKS cluster handles the DNS queries. Ideally, you want to reproduce the problem on a test pod while you capture the traffic from this test pod and on each of the CoreDNS pods.
265
+
Analyzing DNS traffic can help you understand how your AKS cluster handles the DNS queries. Ideally, you should reproduce the problem on a test pod while you capture the traffic from this test pod and on each of the CoreDNS pods.
266
266
267
267
There are two main ways to analyze DNS traffic:
268
268
@@ -284,7 +284,7 @@ GADGET_VERSION=$(kubectl gadget version | grep Server | awk '{print $3}')
284
284
kubectl gadget run trace_dns:$GADGET_VERSION --all-namespaces --fields "src,dst,name,qr,qtype,id,rcode,latency_ns"
285
285
```
286
286
287
-
Where `--fields` is a comma-separated list of fields to displayed. The following list describes the fields that are used in the command:
287
+
Where `--fields` is a comma-separated list of fields to be displayed. The following list describes the fields that are used in the command:
288
288
289
289
- `src`: The source of the request with Kubernetes information (`<kind>/<namespace>/<name>:<port>`).
290
290
- `dst`: The destination of the request with Kubernetes information (`<kind>/<namespace>/<name>:<port>`).
p/kube-system/coredns-57d886c994-r2… p/default/aks-test:56921 db.contoso.com. R A 6574 NameErr… 0ns
308
308
```
309
309
310
-
You can use the `ID` field to identify if a query has a response or not. The `RCODE` field shows you the response code of the DNS request. The `LATENCY_NS` field shows you the latency of the DNS request in nanoseconds. These fields can help you understand the health and performance of DNS responses.
310
+
You can use the `ID` field to identify whether a query has a response. The `RCODE` field shows you the response code of the DNS request. The `LATENCY_NS` field shows you the latency of the DNS request in nanoseconds. These fields can help you understand the health and performance of DNS responses.
311
311
For more information about real-time DNS analysis, see [Troubleshoot DNS failures across an AKS cluster in real time](troubleshoot-dns-failures-across-an-aks-cluster-in-real-time.md).
0 commit comments