Sets up the DomainValidaotrInterface.