In this paper we present a simple method to fit a discrete distribution on the first two moments of a given random variable. With the Fitted distribution we solve approximately Lindley's equation for the D/G/1 queue with discrete service-time distribution using a moment-iteration method. Numerical results show excellent performance of the method.