Question: how to set domain controller priority?
Answer: Log on with an admin account to the domain controller that requires a change in weight and/or priority. Start up regedit.
Navigate to the base key: ... 
Under that key, create a DWORD (32-bit) value with the following name: ... 
Restart the NETLOGON service to republish the SRV records with the new weights and priorities in DNS: