If you actually deal it damage, as you say, then yes.
I assume you mean to ask about the case where the DR entirely prevents the damage from the attack, however. In which case, no. This is covered pretty clearly in the DMG section on the DR special ability, as I recall.