Hi there!
Maybe try adding water to your dog's food. You could also start buying higher quality foods. Higher quality products usually have better protein ingredients that make it easier for your dog to digest with more infrequent waste products. Another way to help this problem is to add 2 tablespoons of baking soda and stir until dissolved in a gallon of water. You can pour this on brown spots in the grass.
Hope this helps :)