management command to get rid of duplicate domains