You need to prepare the environment for the deployment of Group Policy objects (GPO) to meet the following requirements:
You need to ensure that users from each office can resolve computer names for both domains from a local DNS server
You need to ensure that only computers that are joined to the domain can access network resources on the domain