Skip to content

Commit a3fa0b4

Browse files
authored
Merge pull request #171379 from psmanhas/patch-20
(Azure CXP) resolves MicrosoftDocs/azure-docs#80455
2 parents 32016ef + d658ded commit a3fa0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/aks/api-server-authorized-ip-ranges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Add another IP address to the approved ranges with the following command.
154154

155155
```bash
156156
# Retrieve your IP address
157-
CURRENT_IP=$(dig @resolver1.opendns.com ANY myip.opendns.com +short)
157+
CURRENT_IP=$(dig +short "myip.opendns.com" "@resolver1.opendns.com")
158158
# Add to AKS approved list
159159
az aks update -g $RG -n $AKSNAME --api-server-authorized-ip-ranges $CURRENT_IP/32
160160
```

0 commit comments

Comments
 (0)