Throw an exception when there is no name server