Refactored retrieval of domain state information