How does Windows find/discover the Domain Controller when you log in?
I've added a new DC to my domain as a backup, but I'm not sure how the computers will know to look for it, as I don't quite understand the process of how Windows domain login works from a protocol point of view.
When you promote a domain controller, it's added to the DNS srv records. If you drill down through the _msdcs section in DNS, you'll see a bunch of stuff that looks like this:
This link joeqwerty included in a comment provides a more detailed description. An excerpt: