Azure / Azure/azure-powershell

New DNS Forwarding Ruleset Rule Examples are incomplete

Open
#24,704 4 comments 0 reactions 1 assignee Claimed by @argagnej View on GitHub
customer-reported DnsResolver Doc - Reference Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.