When you use the do not disturb on your iPhone?

Do you get any messages that were sent to you during that time after you turn the do not disturb off?

When you have it on, it is just like airplane mode. So you won't receive any calls or texts.

ADDITIONAL INFORMATION*
Differences between airplane mode, do not disturb and silent mode.

On airplane mode, this mode is meant to have the phone work on a plane to prevent the plane from crashing. You won't receive notifications unless you use built-in airplane Wi-Fi.

On do not disturb, you just won't receive notifications.

On silent mode, you'll receive notifications that are silent. Instead of hearing a ring tone, you'll just feel and hear your phone vibrating.