It's a good thing to know all of the domain controllers throughout an Active Directory domain. This activity doesn't just show the management burden for Active Directory administrators; it also allows them to make smart choices, especially when the environment is breached.
Although it's not recommended practice, administrators may place domain controllers outside the domain controller OU. In that case, simply checking the computer accounts in that OU will not provide a 100% view of the domain controller in use.