Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az network private-dns does not list the domain fully #30059

Closed
arunprakashn opened this issue Oct 9, 2024 · 6 comments
Closed

az network private-dns does not list the domain fully #30059

arunprakashn opened this issue Oct 9, 2024 · 6 comments
Assignees
Labels
Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Network az network vnet/lb/nic/dns/etc... question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team. Similar-Issue

Comments

@arunprakashn
Copy link

Describe the bug

Create a custom private dns zone for a database with name "stage.privatelink.database.windows.net".
Try to list or show using the below commands.
#$privateDns = az network private-dns zone list --resource-group "rgp" | ConvertFrom-Json
#$privateDns = az network private-dns zone show --resource-group "rgp" --name "stage.privatelink.database.windows.net" | ConvertFrom-Json

The list displays "privatelink.database.windows.net" omitting the "stage."
The show throws error that such a privatedns zone does not exist.

The azure portal correctly displays it as "stage.privatelink.database.windows.net"

Related command

#$privateDns = az network private-dns zone list --resource-group "rgp" | ConvertFrom-Json
#$privateDns = az network private-dns zone show --resource-group "rgp" --name "stage.privatelink.database.windows.net" | ConvertFrom-Json

Errors

No errors but the output is wrong

Issue script & Debug output

#$privateDns = az network private-dns zone list --resource-group "rgp" | ConvertFrom-Json
#$privateDns = az network private-dns zone show --resource-group "rgp" --name "stage.privatelink.database.windows.net" | ConvertFrom-Json

Expected behavior

Should fetch "stage.privatelink.database.windows.net" instead of just "privatelink.database.windows.net"

Environment Summary

{
"azure-cli": "2.64.0",
"azure-cli-core": "2.64.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"application-insights": "0.1.15",
"databricks": "0.10.2"
}
}

Additional context

No response

@arunprakashn arunprakashn added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Oct 9, 2024
Copy link

Hi @arunprakashn,

2.64.0 is not the latest Azure CLI(2.65.0).

If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.

@azure-client-tools-bot-prd azure-client-tools-bot-prd bot added the Auto-Resolve Auto resolve by bot label Oct 9, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Oct 9, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Network az network vnet/lb/nic/dns/etc... labels Oct 9, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 9, 2024
Copy link

github-actions bot commented Oct 9, 2024

Here are some similar issues that might help you. Please check if they can solve your problem.

@arunprakashn
Copy link
Author

The results are the same with Az Powershell as well as with the Rest call to the management service.

@necusjz necusjz added the Service Attention This issue is responsible by Azure service team. label Oct 9, 2024
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub.

@yonzhan yonzhan removed Azure CLI Team The command of the issue is owned by Azure CLI team bug This issue requires a change to an existing behavior in the product in order to be resolved. labels Oct 9, 2024
@arunprakashn
Copy link
Author

It was an oversight from my side. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Network az network vnet/lb/nic/dns/etc... question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team. Similar-Issue
Projects
None yet
Development

No branches or pull requests

3 participants