Add domain-check utility