Skip to content

Commit d8f0412

Browse files
authored
Update diagnose-connection-issues.md
1 parent 0f423fc commit d8f0412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-arc/kubernetes/diagnose-connection-issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Here's an example procedure for checking DNS resolution:
211211
1. Run the [kubectl exec](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#exec) command to connect to the pod by using PowerShell:
212212

213213
```bash
214-
kubectl exec -it dnsutil-win powershell
214+
kubectl exec -it dnsutil-win -- powershell
215215
```
216216

217217
1. Run the [Resolve-DnsName](/powershell/module/dnsclient/resolve-dnsname) cmdlet in PowerShell to check whether the DNS resolution is working for the endpoint:

0 commit comments

Comments
 (0)