Shorten the Windows Server DFS Namespace or use Domain Alias that works with DFS

smihelp
smihelp used Ask the Experts™
on
Is it possible to shorten the Windows Server DFS Namespace root address or domain name using an alias? Currently, we have it set up with \\domain.com\dfs\ but our domain name is too long and we are running into character limitations for some paths in our ERP system.  I know I can just point the paths directly to one of our file server's Hostname by that defeats the purpose of having a distributed file system.  We have two Windows 2016 Files Servers and one Windows 2008 R2 Files Server in this DFS Namespace.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
System Admin
Commented:
You can use an alias record but you will need to disable the strict name checking in the registry.
Ref the following article for instructions.
https://support.microsoft.com/en-us/help/3181029/smb-file-server-share-access-is-unsuccessful-through-dns-cname-alias
kevinhsiehNetwork Engineer
Commented:
Well, have you tried \\NetBIOSname\dfs? After that, you could save 2 characters with \\domain.com\d\, but I would think that the real savings would be in using shorter names within the DFS folder and link names.
MaheshArchitect
Distinguished Expert 2018

Commented:
Try Global DNS zones

Enable Global Names Support 1st
Create new global names zone in active directory
In that create CNAME entry pointing to all domain controllers

After that try resolving DFS name space with GlobalName


Ex:
\\Corp\dfs

It should resolve to DFS name space

https://blogs.technet.microsoft.com/qzaidi/2011/01/08/quickly-explained-globalnames-zone/
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Distinguished Expert 2018

Commented:
I guess many companies just deploy a drive letter mapped to \\mycorp.com\dfs
MaheshArchitect
Distinguished Expert 2018
Commented:
Just remembered

why can't you access DFS name space with domain NetBIOS name, that also works well and suffice your purpose as well

NetBIOS name is 15 digits long maximum

\\corp\dfs
Shaun VermaakTechnical Specialist
Awarded 2017
Distinguished Expert 2018

Commented:
You can use junctions/symbolic links to shorten the paths

You might first need to enable it to work remotely. Use this to see the current config
fsutil behavior SymlinkEvaluation

Open in new window

Author

Commented:
Thank you all! We decided to use an alias to the NetBIOS of one file server on the DFS. That will allow us to redirect the path if one of our file servers goes off line.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial