Go to the DNS console, go to your forward lookup zone/your zone, look for any suspicious Host(A) setting, I just got the same error couldn't log into the domain after joining it. I went to check DNS and it had the computername but the IP address was wrong, it said 192.168.2.12 but the real IP was .9 so I just delete that entry and it work.