Question Locked

DNS and Share redirection

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Can this be done? I moved a folder from server A to server B and created a share for this folder on server B (example \\B\test)...
Question? we have many apps that have coded \\A\test - can we redirect in DNS some way so that \\A\test will link to the share on \\B\test? (i.e. \\A\test is redirected to the \\B\test share in our apps)?

4 replies

by cg it

sorry but DNS is name to address mapping and not shared resource mapping. DFS deals with shared folders.

by lowlands

you could achieve it in DNS, sorry CG :)

But it will depend on your infrastructure.

If you're in a AD domain, and your client computers use DNS. Creating a DNS alias for A that points to the ip of B.
However this will only work if server A no longer exists! Don't create a DNS alias for the server if it is still online. In that case CG's option is a better way to go.

by aakash shah

If you decide to create an alias such that A refers to B in DNS, remember to disable strict name checking in Windows:
http://support.microsoft.com/kb/281308/en-us

This is because, by default, you can only a share using \\real_name\share and not \\alias\share. Disabling strict name checking will allow you to use \\alias\share to access the share.

This discussion is closed to new replies.