Please bear with me, I am a software developer and know little of Active Directory and Windows Server domains.
I am running a .NET MVC intranet application on IIS (Windows Server 2016 Standard) that uses Windows Authentication (Negotiate, NTLM, in that order). Our domain uses multiple domain controllers (I have read through this answer to check why multiple DC's are required and that there is no longer any concept of "Primary" and "Backup" DC). Yesterday, during some migrations of domain controllers, our users were not able to authenticate to the application. I was told that at the time of the authentication issues, the "default" domain controller which is used by IIS / the application was down for some time during the migration process, and that IIS was not contacting any other DC in the domain.
There is no hardcoded IP address or hostname for a domain controller in our application. So how does IIS / the application determine which DC it has to use for the Windows Authentication?
Can I change or configure the IP address somewhere in the application or in IIS? And most importantly, can I configure an IP / hostname of any other DC to use as backup so that this will not occur again in the future?
I have asked this question on Stacked Overflow before, and I was told that this has nothing to do with programming and was redirected to Server Fault. So I assume I cannot solve anything codewise. While I am not an AD expert / domain administrator, I am still open for new knowledge and gaining experience in this field. It is going to help my development career in future cases for sure.
If you need more information, feel free to ask.
Thank you in advance.