Of course the DM decides, if a creature takes the dodge action ;)
Ingame, an attack is an attack, if that Hits it Hits. That is not comparable to speaking and having the exact same 100% reaction.
And I already said, that player characters and monsters can impose ninmagically certain conditions...