adverb
(not) at all; in no way; no matter what
Used with negative verbs to express that something cannot be done no matter what one tries, or that a situation is completely impossible. Often appears as どうにもならない or どうにもできない.
この問題はどうにもならない。
There's nothing that can be done about this problem.
彼の気持ちはどうにも理解
I just can't understand his feelings at all.
adverb
Emphasizes an extreme degree of a negative state or quality, often with adjectives like 暑い, 寒い, まずい, etc. Conveys a sense of being beyond help or unbearably so.
今日はどうにも暑くてたまらない。
It's terribly hot today; I can't stand it.
この料理はどうにもまずい。
This dish is hopelessly bad.