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
@@ -113,8 +113,8 @@ az resource show --ids $networkInterfaceId --api-version 2019-04-01 -o json
113
113
114
114
115
115
#Create DNS records
116
-
az network private-dns record-set a create --name myserver --zone-name privatelink.database.azure.com --resource-group myResourceGroup
117
-
az network private-dns record-set a add-record --record-set-name myserver --zone-name privatelink.database.windows.net --resource-group myResourceGroup -a <Private IP Address>
116
+
az network private-dns record-set a create --name myserver --zone-name privatelink.postgres.database.azure.com --resource-group myResourceGroup
117
+
az network private-dns record-set a add-record --record-set-name myserver --zone-name privatelink.postgres.database.windows.net --resource-group myResourceGroup -a <Private IP Address>
118
118
```
119
119
120
120
## Connect to a VM from the internet
@@ -146,14 +146,14 @@ Connect to the VM *myVm* from the internet as follows:
146
146
147
147
1. In the Remote Desktop of *myVM*, open PowerShell.
148
148
149
-
2. Enter `nslookup mydemopostgresserver.postgres.privatelink.database.azure.com`.
149
+
2. Enter `nslookup mydemopostgresserver.privatelink.postgres.database.azure.com`.
3. Test the private link connection for the PostgreSQL server using any available client. In the example below I have used [Azure Data studio](https://docs.microsoft.com/sql/azure-data-studio/download?view=sql-server-ver15) to do the operation.
@@ -163,7 +163,7 @@ Connect to the VM *myVm* from the internet as follows:
163
163
| Setting | Value |
164
164
| ------- | ----- |
165
165
| Server type| Select **PostgreSQL**.|
166
-
| Server name| Select *mydemopostgresserver.postgres.privatelink.database.azure.com* |
166
+
| Server name| Select *mydemopostgresserver.privatelink.postgres.database.azure.com* |
167
167
| User name | Enter username as username@servername which is provided during the PostgreSQL server creation. |
168
168
|Password |Enter a password provided during the PostgreSQL server creation. |
169
169
|SSL|Select **Required**.|
@@ -185,4 +185,4 @@ az group delete --name myResourceGroup --yes
185
185
```
186
186
187
187
## Next steps
188
-
- Learn more about [What is Azure private endpoint](https://docs.microsoft.com/azure/private-link/private-endpoint-overview)
188
+
- Learn more about [What is Azure private endpoint](https://docs.microsoft.com/azure/private-link/private-endpoint-overview)
0 commit comments