Domains
Cheat sheet · https://pcornel.dk/topic.php?topic=3233
Answer
A domain contains users, groups, computers, OUs and domain configuration in a domain naming context replicated to domain controllers for that domain. Domains in the same forest share schema, configuration and transitive trust relationships.
Remember
- A domain is not an isolation boundary from forest-level administrators.
- Every domain has a DNS FQDN and a legacy NetBIOS name.
- The domain naming context replicates to DCs in that domain, not automatically as a full writable partition to other domains.
- Domain functional level controls AD DS capabilities/DC compatibility, not client OS versions.
First checks
Get-ADDomain— domain details and FSMO holdersGet-ADDomainController -Filter * | Select HostName,Site,IsGlobalCatalog— DCsdcdiag /v /e /q— DC health tests (errors only with /q)repadmin /replsummary— replication summarynltest /dsgetdc:<domain>— DC locator
Commands
Get-ADDomain- Read current Active Directory state for a bounded verification step.
Verify in this order
domain = security and replication boundary for its objects
Where it usually breaks
First mismatch in forest/domain/object identity → authoritative DC/source policy → replication/KDC/GP processing → client token/effective policy → target resource → event/audit verification; preserve identity/native error/pre-state before mutation.
Active Directory Domain Services → Domains reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| DNS name | Primary AD namespace | used by locator/service records |
| NetBIOS name | Legacy short domain name | not the DNS namespace |
| Domain NC | Writable domain objects | replicates among domain DCs |
| Functional level | AD DS capability/DC floor | not client OS floor |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3233