When a domain is added to a company, all the existing contacts, as well as the new contacts belonging to this domain, will automatically get associated with this company.