[DO NOT MERGE] Add DisableCnameChainValidation to DNS security rule cmdlets#29507
Draft
argagnej wants to merge 1 commit intoAzure:joyer/dnsresolver-migrate-v4from
Draft
Conversation
- Add DisableCnameChainValidation parameter to New-AzDnsResolverPolicyDnsSecurityRule and Update-AzDnsResolverPolicyDnsSecurityRule - Update API version references from 2025-10-01-preview to 2026-07-01-preview - Re-record security rule tests against post-merge test Frontend environment - Add postMergeTestHelper.ps1 for cert-based auth test routing - Update examples and ChangeLog Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
Collaborator
|
/azp run |
Contributor
|
Azure Pipelines successfully started running 3 pipeline(s). |
jamesvoongms
reviewed
May 6, 2026
| --> | ||
| ## Upcoming Release | ||
| * Upgraded API version from 2023-07-01-preview to 2025-10-01-preview | ||
| * Upgraded API version from 2023-07-01-preview to 2026-07-01-preview |
Member
There was a problem hiding this comment.
Arpit I think your changes will need to be in a seperate change set, will be after this one gets released
Member
There was a problem hiding this comment.
These changes will liekly be in 1.2.5, yours will be in a version afterwards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the \DisableCnameChainValidation\ parameter to \New-AzDnsResolverPolicyDnsSecurityRule\ and \Update-AzDnsResolverPolicyDnsSecurityRule\ cmdlets. When set, the DNS resolver will not validate the full CNAME chain against domain lists and will match only on the queried domain name.
Changes
Testing
All 8 security rule tests pass in both record and playback modes: