Added code to get the references for an specific domain