Attach a painter to the D ring on the outside of the hull and tie the anchor rope to a point inside the hull. When you anchor, pay out the required amount of line, tie a loop into the anchor rope and tie the painter to the loop. That way the strain is taken by the painter line on the D ring and you still have the rest of the anchor rope inside the boat to haul the painter back in when you need to recover the anchor.
__________________
|