checking duplicate domain restrictions