We had an issue where our domain controller lost its domain network profile after a reboot. When it came back up it was set to public instead of domain.
The problem occurred only when Windows NIC teaming (switch-independent) was used in combination with two network adapters in the team. As soon as one network adapter was disabled from the team (while the other remained active), the network profile (domain) was recognized correctly.