Skip to content

Commit c2c1599

Browse files
Merge pull request #285866 from sdwheeler/sdw-w303947-dns
Update FAQ for private DNS issue
2 parents 09602db + 21dcc18 commit c2c1599

File tree

1 file changed

+25
-13
lines changed

1 file changed

+25
-13
lines changed

articles/cloud-shell/faq-troubleshooting.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
description: This article answers common questions and explains how to troubleshoot Cloud Shell issues.
3-
ms.contributor: jahelmic
4-
ms.date: 08/22/2024
3+
ms.date: 08/29/2024
54
ms.topic: troubleshooting
65
tags: azure-resource-manager
76
ms.custom: has-azure-ad-ps-ref
@@ -97,8 +96,10 @@ command that requires elevated permissions.
9796
- **Details**: When creating the Cloud Shell storage account for first-time users, it's
9897
unsuccessful due to an Azure Policy assignment placed by your admin. The error message includes:
9998

100-
> The resource action 'Microsoft.Storage/storageAccounts/write' is disallowed by
101-
> one or more policies.
99+
```
100+
The resource action 'Microsoft.Storage/storageAccounts/write' is disallowed by
101+
one or more policies.
102+
```
102103

103104
- **Resolution**: Contact your Azure administrator to remove or update the Azure Policy assignment
104105
denying storage creation.
@@ -118,17 +119,16 @@ command that requires elevated permissions.
118119
following domains:
119120
- `*.console.azure.com`
120121
- `*.servicebus.windows.net`
122+
- `*.servicebus.usgovcloudapi.net` for Azure Government Cloud
121123

122-
### Accessing Cloud Shell from VNET Isolation with a Private DNS Zone - Failed to request a terminal
124+
### Failed to request a terminal - Accessing Cloud Shell from a network that uses a private DNS resolver
123125

124126
- **Details**: Cloud Shell uses Azure Relay for terminal connections. Cloud Shell can fail to
125127
request a terminal due to DNS resolution problems. This failure can be caused when you launch a
126-
nonisolated Cloud Shell session from within a VNet-isolated environment that includes a private
127-
DNS Zone for the servicebus domain.
128+
Cloud Shell session from a host in a network that has a private DNS Zone for the servicebus
129+
domain. This error can also occur if you're using a private on-premises DNS server.
128130

129-
- **Resolution**: There are two ways to resolve this problem. You can follow the instructions in
130-
[Deploy Cloud Shell in a virtual network][01]. Or, you can add a DNS record for the Azure Relay
131-
instance that Cloud Shell uses.
131+
- **Resolution**: You can add a DNS record for the Azure Relay instance that Cloud Shell uses.
132132

133133
The following steps show you how to identify the DNS name of the Cloud Shell instance and how to
134134
create a DNS record for that name.
@@ -139,7 +139,8 @@ command that requires elevated permissions.
139139
corner. Search for `terminals?` to find the request for a Cloud Shell terminal. Select the one
140140
of the request entries found by the search. In the **Headers** tab, find the hostname in the
141141
**Request URL**. The name is similar to
142-
`ccon-prod-<region-name>-aci-XX.servicebus.windows.net`.
142+
`ccon-prod-<region-name>-aci-XX.servicebus.windows.net`. For Azure Government Cloud, the
143+
hostname ends with `servicebus.usgovcloudapi.net`.
143144

144145
The following screenshot shows the Developer Tools in Microsoft Edge for a successful request
145146
for a terminal. The hostname is `ccon-prod-southcentalus-aci-02.servicebus.windows.net`. In
@@ -148,6 +149,9 @@ command that requires elevated permissions.
148149

149150
[![Screenshot of the browser developer tools.](media/faq-troubleshooting/devtools-small.png)](media/faq-troubleshooting/devtools-large.png#lightbox)
150151

152+
For information about accessing the Developer Tools in other browsers, see
153+
[Capture a browser trace for troubleshooting][03].
154+
151155
1. From a host outside of your private network, run the `nslookup` command to find the IP address
152156
of the hostname as found in the previous step.
153157

@@ -159,15 +163,15 @@ command that requires elevated permissions.
159163

160164
```Output
161165
Server: 168.63.129.16
162-
Address: 168.63.129.16#53
166+
Address: 168.63.129.16
163167
164168
Non-authoritative answer:
165169
ccon-prod-southcentralus-aci-02.servicebus.windows.net canonical name = ns-sb2-prod-sn3-012.cloudapp.net.
166170
Name: ns-sb2-prod-sn3-012.cloudapp.net
167171
Address: 40.84.152.91
168172
```
169173

170-
1. Add an A record for the public IP in the Private DNS Zone of the VNET isolated setup. For this
174+
1. Add an A record for the public IP in the Private DNS Zone of your private network. For this
171175
example, the DNS record would have the following properties:
172176

173177
- Name: ccon-prod-southcentralus-aci-02
@@ -178,6 +182,13 @@ command that requires elevated permissions.
178182
For more information about creating DNS records in a private DNS zone, see
179183
[Manage DNS record sets and records with Azure DNS][02].
180184

185+
> [!NOTE]
186+
> This IP address is subject to change periodically. You might need to repeat this process to
187+
> discover the new IP address.
188+
189+
Alternately, you can deploy your own private Cloud Shell instance. For more information, see
190+
[Deploy Cloud Shell in a virtual network][01].
191+
181192
## Managing Cloud Shell
182193

183194
### Manage personal data
@@ -232,3 +243,4 @@ Use the following steps to delete your user settings.
232243
<!-- link references -->
233244
[01]: /azure/cloud-shell/vnet/overview
234245
[02]: /azure/dns/dns-operations-recordsets-portal
246+
[03]: /azure/azure-portal/capture-browser-trace

0 commit comments

Comments
 (0)