Use this when adding redundancy for DFS namespace roots.
Namespace Servers
Namespace servers host a DFS namespace root and give clients referrals to folder targets. Domain-based namespaces can have several namespace servers for redundancy.
1. Namespace servers for the root (≥2).
2. Service DFS Namespace running.
3. Domain-based namespace in AD.
4. Site placement.
5. Test referral.
namespace servers host the root and give referrals
Context & applicabilityCommon mistakes · platform/version boundaries
- Namespace servers only in one site.
- DCs not able to provide referrals because of site mismatch.
- Removing a namespace server without updating clients' cached referrals (they time out after the TTL).
Operational reference
Fast context before you go deeper.
Get-DfsnRootTarget -Path \\corp.local\filesVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
Get-DfsnRootTarget -Path \\corp.local\files
dfsdiag /testdcs /domain:corp.local
dfsdiag /testreferral /dfspath:\\corp.local\files
dfsutil /pktinfo # on a client: cached referrals
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Each namespace server needs the root share.
- Clients get referrals to the nearest namespace server.
Get-DfsnRoot— namespacesGet-DfsnFolderTarget -Path <path>— folder targets and stateGet-DfsrBacklog -GroupName <g> -FolderName <f> -SourceComputerName <a> -DestinationComputerName <b>— DFSR backlogdfsrdiag replicationstate— replication statedfsutil /pktinfo— client referral cache
ReferenceWhy it matters1 section · depth on demand
Redundancy
Add at least two namespace servers for a domain-based namespace (New-DfsnRootTarget). Clients get referrals from the namespace server in their site first. Check with dfsutil diag viewdfsdirs or Get-DfsnRootTarget. If all namespace servers are down, clients still reach targets they have cached until the referral expires.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Namespace servers host the namespace root (a share on each server). Add at least two (often DCs or file servers) for availability.
New-DfsnRootTarget -Path \\corp.example.com\files -TargetPath \\fs02\files
Get-DfsnRootTarget -Path \\corp.example.com\files
Set-DfsnRoot -Path \\corp.example.com\files -EnableSiteCosting $true
Clients get a referral list ordered by site (same site first, then by cost with site costing). dfsdiag /testreferral /dfspath:\\corp.example.com\files checks referral health.
ReferenceConfiguration & state1 section · depth on demand
Commands
New-DfsnRootTarget -Path \\corp.local\files -TargetPath \\fs02\files
Get-DfsnRootTarget -Path \\corp.local\files
Documented example, not captured output. Add namespace servers in each major site.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in DFS → Namespace Servers. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/storage/dfs-namespaces/dfs-overview · confidence 94%