ActiveDirectoryDsc
ActiveDirectoryDsc copied to clipboard
ADDomain: DNS Delegation is no longer working.
DNS Delegation is no longer working.
In version 2.14 DNS Delegation for Child Domains was working fine.
In 2.16 it no longer works.
I'm fairly certain it's due to changes in 2.15, specifically this change @iainbrighton https://github.com/PowerShell/xActiveDirectory/commit/7223fbc77f095474db27c2788c7c0193ef1ddd10#diff-a7c07329742e59a436bee9ed08a3f411L232
That looks like it was a major breaking change.
If the InstallDns parameter is no longer being sent to Install-ADDSForest/Install-ADDSDomain then it makes the DnsDelegationCredential Resource Property useless
Ideally this change should be reverted.
Alternatively a DSC Resource Property for InstallDns could be added, which would still be a breaking change from previous releases.
If this DSC Resource is going to remain as-is then there needs to be a test for the presence of the DNS server feature, at-least when the user specifies DnsDelegationCredential (which implies the user needs/wants DNS running on the domain controller).
This seems to have been removed "temporarily" discussed in issue #74, but the new planned functionality was never implemented, and the prior functionality was never reverted. Agree that this should be added back in, in a way that wouldn't make a breaking change again.