Use ip-resolution to validate cors origins