DND mode is only created to prevent calls, messages, and notifications from other apps. However, this setting in any iPhone does not hinder the Alarm. But, just to be sure, you can check if turning off DND mode helps your Alarm go off again.