azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

New DNS Forwarding Ruleset Rule Examples are incomplete

Open mundayn opened this issue 1 year ago • 1 comments

Type of issue

Missing information

Feedback

Hi all,

This documentation is unclear and hard to follow.

Please see this page that provides a very clear example on how to use "New-AzDnsForwardingRulesetForwardingRule": https://learn.microsoft.com/en-us/azure/dns/dns-private-resolver-get-started-powershell#create-forwarding-rules

The page in question does not show you how to add a "DomainName" value for the rule, which is the a core part of the rule.

The "$targetIPConfig" also does not make any sense to me to why it is needed. I have a feeling this is an error, and it should be "New-AzDnsResolverTargetDnsServerObject", and not "New-AzDnsResolverIPConfigurationObject".

Page URL

https://learn.microsoft.com/en-us/powershell/module/az.dnsresolver/new-azdnsforwardingrulesetforwardingrule?view=azps-11.5.0

Content source URL

https://github.com/Azure/azure-powershell/blob/main/src/DnsResolver/DnsResolver/help/New-AzDnsForwardingRulesetForwardingRule.md

Author

@mikefrobbins

Document Id

66bb54a2-a30b-8869-f36b-6949baef5627

mundayn avatar Apr 23 '24 00:04 mundayn

Thanks for reporting. Let me loop in DNS team to follow up.

isra-fel avatar Apr 23 '24 02:04 isra-fel

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