If you use the nslookup xxxxx.xx where xxxxx.xx is your domain, do you recieve the IP address of the new DC or the old one? If you receive the old DC, you need to change your DNS setup.
The UserPrincipal.GetGroups() should return the groups of the new DC.
-----------
--If the reply is helpful, please Upvote and Accept as answer--