Impacted anal glands.
Finally, another common reason why a dog may be biting at the base of her tail until it's bleeding is an impacted anal gland.
One obvious sign that a dog is having an anal gland issue is scooting, when he sits up and drags his butt across the ground.