I think the confusion arises because some people only call it "Dominance" if the focus of the relationship is obedience for its own sake. In that case, the sub hates punishment because it means sie has failed to please hir Dom(me); sie may even want to be hurt in a really bad way to expiate hir feelings of guilt and failure.

However, others call a relationship "Dom/sub" even when the primary focus is pain-play (and/or humiliation etc.), and in this case the sub may routinely "play naughty" as the start of a scene which is called "punishment" but has nothing to do with actually modifying the sub's behaviour.

Obviously, the choice of treatments will be completely different in the two cases. I had a slave who I routinely whipped bloody because we both enjoyed it: but if she had really done wrong and I wanted her to know it and be sorry, I would use punishments (in the exact sense) which would have looked much less serious to an outsider, but which taught her the required lesson because they meant shame and guilt to her.