Ah yes. This can be a rather awkward dilemma.
And the answer is … adopt an egg. Believe it or not, anger like this doesn’t stem from the physical inability to produce a fertilized egg but instead the lack of an opportunity to raise young as one’s own at all. Luckily, there are plenty of possible solutions for most pokémon, but in a dunsparce and arbok’s case, the easiest and least risky one would be, simply, egg adoption.
Best of luck!
(As an added note, I’m aware you’ve asked for tips on calming your dunsparce, but honestly, unless letting them raise young is unviable for reasons other than sex and egg groups, let them raise young. They sound like they would be wonderful parents.)