Problem
HealthTest-DnsSuffixBaseline requires both RegisterThisConnectionsAddress and UseSuffixWhenRegistering to be true on every active interface.
File: health-tests/HealthTest-DnsSuffixBaseline.ps1, lines 69-78.
UseSuffixWhenRegistering controls registration of the connection-specific suffix. It does not need to be true when normal registration under the computer's primary DNS suffix is sufficient. The usual false value can therefore be reported as failure.
Simple example
A domain member has:
- primary DNS suffix
contoso.com;
- an empty connection-specific suffix;
RegisterThisConnectionsAddress=True;
UseSuffixWhenRegistering=False.
The computer can still register its normal host.contoso.com record, but the test reports DNS registration failure.
Expected behavior
Require RegisterThisConnectionsAddress where appropriate. Evaluate UseSuffixWhenRegistering only when a connection-specific suffix is configured and policy requires that extra suffix to be registered.
Acceptance criteria
- The example above does not fail solely because
UseSuffixWhenRegistering is false.
- A required connection-specific registration can still be checked.
- Adapter exclusions and expectations are documented.
- Unit tests cover empty, domain-matching, and custom connection-specific suffixes.
Problem
HealthTest-DnsSuffixBaselinerequires bothRegisterThisConnectionsAddressandUseSuffixWhenRegisteringto be true on every active interface.File:
health-tests/HealthTest-DnsSuffixBaseline.ps1, lines 69-78.UseSuffixWhenRegisteringcontrols registration of the connection-specific suffix. It does not need to be true when normal registration under the computer's primary DNS suffix is sufficient. The usual false value can therefore be reported as failure.Simple example
A domain member has:
contoso.com;RegisterThisConnectionsAddress=True;UseSuffixWhenRegistering=False.The computer can still register its normal
host.contoso.comrecord, but the test reports DNS registration failure.Expected behavior
Require
RegisterThisConnectionsAddresswhere appropriate. EvaluateUseSuffixWhenRegisteringonly when a connection-specific suffix is configured and policy requires that extra suffix to be registered.Acceptance criteria
UseSuffixWhenRegisteringis false.