1.
how; in what way; by what method
Asks about the method or means used to do something. Literally どう (how) + やって (the て-form of する/やる), so it specifically asks how an action is performed, not a state.