Hello there,
Assuming things are set correctly, it will first select a server that's in the same site.
If you want to force a referral order, you can do that from within DFS on the specific DFS folder. (Referrals tab on properties.)
If you want to set a specific target as 'Primary" for everyone in a site
Open up the DFS Management utility
Open the Namespace the folder and target you wish to modify is under
Select the folder you wish to control the targets on
Right click on the target you wish to set as active
Select the Advanced tab
Check the "Override referral ordering" checkbox
Select "First among all targets"
DFS uses the Windows Server file replication service to copy changes between replicated targets. Users can modify files stored on one target, and the file replication service propagates the changes to the other designated targets. The service preserves the most recent change to a document or files.
I hope this information helps. If you have any questions please let me know and I will be glad to help you out.
------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer--